Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.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.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002135/0.002135, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 474.4 MB / 0.7465 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.59 kB / 0.9135 GB, free: 32.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 160.3 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing): time 0.1784/0.5141, allocations: 144.1 MB / 1.211 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02667/0.5408, allocations: 15.33 MB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009756/0.5419, allocations: 15.88 kB / 1.226 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.5429, allocations: 222.6 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007893/0.5509, allocations: 1.86 MB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.5532, allocations: 497.1 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.5561, allocations: 1.624 MB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000856/0.5569, allocations: 353.3 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008746/0.5578, allocations: 398.1 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007579/0.5586, allocations: 410.2 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.5587, allocations: 24 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007295/0.566, allocations: 2.602 MB / 1.233 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.5663, allocations: 91.61 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.5668, allocations: 246.7 kB / 1.234 GB, free: 284 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.5717, allocations: 1.875 MB / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5717, allocations: 0 / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5717, allocations: 0 / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.5717, allocations: 0 / 1.236 GB, free: 14.4 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002199/0.574, allocations: 0.9308 MB / 1.237 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.574, allocations: 8.031 kB / 1.237 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5752, allocations: 135.3 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008899/0.5761, allocations: 473.1 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.5762, allocations: 28.59 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.5762, allocations: 36 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.5771, allocations: 426.1 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.5771, allocations: 8 kB / 1.238 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.5772, allocations: 16 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5772, allocations: 8 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.578, allocations: 314.3 kB / 1.238 GB, free: 11.93 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.002682/0.5807, allocations: 2.593 MB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.5813, allocations: 325 kB / 1.241 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.5816, allocations: 150.5 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.5824, allocations: 412.3 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.5824, allocations: 46.48 kB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002487/0.5827, allocations: 23.75 kB / 1.241 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 4.428e-06/0.5827, allocations: 3.984 kB / 1.241 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00123/0.5839, allocations: 395 kB / 1.242 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.584, allocations: 106.8 kB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.5844, allocations: 369.5 kB / 1.242 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5845, allocations: 33.7 kB / 1.242 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5846, allocations: 244 kB / 1.242 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.5847, allocations: 66.95 kB / 1.243 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.5848, allocations: 61.92 kB / 1.243 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.585, allocations: 350.9 kB / 1.243 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5852, allocations: 117.6 kB / 1.243 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.5856, allocations: 223.5 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.5862, allocations: 312.5 kB / 1.244 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5862, allocations: 4 kB / 1.244 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009742/0.5872, allocations: 362.5 kB / 1.244 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5872, allocations: 8 kB / 1.244 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.5872, allocations: 0 / 1.244 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.5873, allocations: 4 kB / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.5878, allocations: 83.88 kB / 1.244 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/0.5882, allocations: 0.5979 MB / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.5885, allocations: 35.98 kB / 1.245 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.5886, allocations: 12 kB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003869/0.589, allocations: 225.9 kB / 1.245 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003525/0.5893, allocations: 215 kB / 1.245 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005792/0.5899, allocations: 316.4 kB / 1.245 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.5899, allocations: 0 / 1.245 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0009412/0.5909, allocations: 357.1 kB / 1.246 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5909, allocations: 8.062 kB / 1.246 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5909, allocations: 4 kB / 1.246 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.5909, allocations: 7.938 kB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.5912, allocations: 67.89 kB / 1.246 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.5912, allocations: 4 kB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.5916, allocations: 43.95 kB / 1.246 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.5916, allocations: 19.98 kB / 1.246 GB, free: 3.137 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.5918, allocations: 196.1 kB / 1.246 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.5921, allocations: 47.45 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.5931, allocations: 433.4 kB / 1.246 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.5931, allocations: 4 kB / 1.246 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5931, allocations: 0 / 1.246 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5932, allocations: 3.984 kB / 1.246 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.5948, allocations: 1.06 MB / 1.248 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5949, allocations: 4 kB / 1.248 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.5952, allocations: 64.05 kB / 1.248 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5952, allocations: 0 / 1.248 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5952, allocations: 8 kB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/0.5955, allocations: 0.6014 MB / 1.248 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5955, allocations: 0 / 1.248 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008727/0.5964, allocations: 435.2 kB / 1.249 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.5966, allocations: 164.5 kB / 1.249 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.5967, allocations: 8 kB / 1.249 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.681/1.278, allocations: 36.8 kB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/1.278, allocations: 20.67 kB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/1.278, allocations: 9.188 kB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004067/1.278, allocations: 270.5 kB / 1.249 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.278, allocations: 1 kB / 1.249 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001743/1.28, allocations: 449.7 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/1.282, allocations: 435.6 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.283, allocations: 438.8 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.283, allocations: 0.9688 kB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/1.284, allocations: 150.6 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.285, allocations: 184.1 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.286, allocations: 0.866 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.287, allocations: 0.8266 MB / 1.252 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004694/1.287, allocations: 132.1 kB / 1.252 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/1.287, allocations: 45.48 kB / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.287, allocations: 0 / 1.253 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03196/1.319, allocations: 13.76 MB / 1.266 GB, free: 179.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe 2>&1)