Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001144, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01004/0.01004, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 8.719 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3952, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1456/0.5409, allocations: 151 MB / 1.222 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04444/0.5854, allocations: 30.17 MB / 1.251 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0073/0.5927, allocations: 123.1 kB / 1.251 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.5961, allocations: 0.8077 MB / 1.252 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7461/1.342, allocations: 2.891 MB / 1.255 GB, free: 44.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006773/1.349, allocations: 2.301 MB / 1.257 GB, free: 44.01 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.362, allocations: 7.388 MB / 1.264 GB, free: 44.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003963/1.366, allocations: 1.854 MB / 1.266 GB, free: 43.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/1.373, allocations: 2.364 MB / 1.268 GB, free: 43.83 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004939/1.378, allocations: 1.909 MB / 1.27 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/1.379, allocations: 93.72 kB / 1.27 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/1.382, allocations: 0.9384 MB / 1.271 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/1.383, allocations: 443.4 kB / 1.272 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002447/1.385, allocations: 1.148 MB / 1.273 GB, free: 43.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006168/1.392, allocations: 3.129 MB / 1.276 GB, free: 43.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/1.392, allocations: 0.5 kB / 1.276 GB, free: 43.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.568e-06/1.392, allocations: 0 / 1.276 GB, free: 43.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001392/1.392, allocations: 3.781 kB / 1.276 GB, free: 43.34 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007045/1.399, allocations: 2.348 MB / 1.278 GB, free: 42.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.399, allocations: 9.875 kB / 1.278 GB, free: 42.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/1.4, allocations: 263.9 kB / 1.278 GB, free: 41.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/1.403, allocations: 1.453 MB / 1.28 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.403, allocations: 102.3 kB / 1.28 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/1.403, allocations: 136.7 kB / 1.28 GB, free: 41.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/1.406, allocations: 1.169 MB / 1.281 GB, free: 41.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.406, allocations: 1.875 kB / 1.281 GB, free: 41.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.406, allocations: 48.19 kB / 1.281 GB, free: 41.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/1.406, allocations: 28.75 kB / 1.281 GB, free: 41.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/1.408, allocations: 1.025 MB / 1.282 GB, free: 41.32 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/1.419, allocations: 6.344 MB / 1.288 GB, free: 38.64 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.421, allocations: 0.5808 MB / 1.289 GB, free: 38.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/1.421, allocations: 394.6 kB / 1.289 GB, free: 38.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003826/1.422, allocations: 0.5036 MB / 1.29 GB, free: 38.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.422, allocations: 37.28 kB / 1.29 GB, free: 38 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002317/1.424, allocations: 333.5 kB / 1.29 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=58): time 7.555e-06/1.424, allocations: 5.281 kB / 1.29 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58): time 0.002273/1.426, allocations: 1.137 MB / 1.291 GB, free: 37.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.426, allocations: 57.84 kB / 1.291 GB, free: 37.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.429, allocations: 1.906 MB / 1.293 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.429, allocations: 42.27 kB / 1.293 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.43, allocations: 0.9202 MB / 1.294 GB, free: 37.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/1.43, allocations: 203 kB / 1.294 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/1.431, allocations: 117.4 kB / 1.295 GB, free: 37.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.431, allocations: 350.7 kB / 1.295 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009356/1.432, allocations: 430.3 kB / 1.295 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.433, allocations: 0.6804 MB / 1.296 GB, free: 36.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.434, allocations: 0.9545 MB / 1.297 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.434, allocations: 1.219 kB / 1.297 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002798/1.437, allocations: 1.393 MB / 1.298 GB, free: 36.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.437, allocations: 194.1 kB / 1.298 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.437, allocations: 3.312 kB / 1.298 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/1.437, allocations: 8.156 kB / 1.298 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.439, allocations: 285.5 kB / 1.299 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.167e-05/1.439, allocations: 11.59 kB / 1.299 GB, free: 36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.441, allocations: 143.4 kB / 1.299 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.441, allocations: 56.59 kB / 1.299 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.441, allocations: 5.656 kB / 1.299 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002008/1.443, allocations: 1.134 MB / 1.3 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.443, allocations: 3.031 kB / 1.3 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/1.443, allocations: 8.938 kB / 1.3 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.444, allocations: 273.6 kB / 1.3 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.444, allocations: 10.66 kB / 1.3 GB, free: 35.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.446, allocations: 143.5 kB / 1.3 GB, free: 35.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.446, allocations: 58.61 kB / 1.301 GB, free: 35.92 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001054/1.448, allocations: 451.2 kB / 1.301 GB, free: 35.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003722/1.448, allocations: 206.6 kB / 1.301 GB, free: 35.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/1.45, allocations: 1.071 MB / 1.302 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.45, allocations: 15.41 kB / 1.302 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.45, allocations: 1.969 kB / 1.302 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.45, allocations: 4.219 kB / 1.302 GB, free: 35.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/1.454, allocations: 2.409 MB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.454, allocations: 0 / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/1.455, allocations: 143 kB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.455, allocations: 3.344 kB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/1.455, allocations: 21.31 kB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/1.455, allocations: 9.578 kB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.455, allocations: 2.625 kB / 1.305 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/1.456, allocations: 1.062 MB / 1.306 GB, free: 34.81 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008035/1.457, allocations: 380.3 kB / 1.306 GB, free: 34.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.457, allocations: 14.19 kB / 1.306 GB, free: 34.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/1.458, allocations: 99.3 kB / 1.306 GB, free: 34.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.458, allocations: 57.47 kB / 1.306 GB, free: 34.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-05/1.459, allocations: 24.41 kB / 1.306 GB, free: 34.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001977/1.461, allocations: 1.255 MB / 1.308 GB, free: 34.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.461, allocations: 5.312 kB / 1.308 GB, free: 34.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002754/1.463, allocations: 0.8881 MB / 1.308 GB, free: 34.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007865/1.464, allocations: 346.4 kB / 1.309 GB, free: 34.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002704/1.467, allocations: 1.579 MB / 1.31 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.467, allocations: 1.375 kB / 1.31 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/1.467, allocations: 410.4 kB / 1.311 GB, free: 34.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006423/1.474, allocations: 1.132 MB / 1.312 GB, free: 34.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/1.479, allocations: 3.721 MB / 1.315 GB, free: 32.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/1.48, allocations: 1.404 MB / 1.317 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002222/1.482, allocations: 400.2 kB / 1.317 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/1.482, allocations: 165.6 kB / 1.317 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of SimCode: time 1.623e-06/1.482, allocations: 4 kB / 1.317 GB, free: 31.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.06431/1.547, allocations: 37 MB / 1.353 GB, free: 11.35 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)