Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 79.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009993/0.0009993, allocations: 169.8 kB / 25.18 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9409/0.9409, allocations: 177.1 MB / 205.6 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.847/1.847, allocations: 389.6 MB / 0.6364 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.79e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing): time 0.137/0.137, allocations: 133.5 MB / 0.9059 GB, free: 208 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007385/0.1444, allocations: 7.307 MB / 0.913 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.1448, allocations: 27.75 kB / 0.913 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.1452, allocations: 154.7 kB / 0.9132 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1474, allocations: 1.213 MB / 0.9144 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.1484, allocations: 0.5531 MB / 0.9149 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1496, allocations: 1.144 MB / 0.916 GB, free: 5.766 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.15, allocations: 322.3 kB / 0.9163 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.1518, allocations: 1.489 MB / 0.9178 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.1521, allocations: 327 kB / 0.9181 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.1522, allocations: 36 kB / 0.9181 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.154, allocations: 1.599 MB / 0.9197 GB, free: 2 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.1541, allocations: 111.5 kB / 0.9198 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1542, allocations: 171.5 kB / 0.9199 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.1555, allocations: 1.348 MB / 0.9213 GB, free: 380 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1555, allocations: 0 / 0.9213 GB, free: 380 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1555, allocations: 0 / 0.9213 GB, free: 380 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1555, allocations: 0 / 0.9213 GB, free: 380 kB / 0.8698 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.0009909/0.1565, allocations: 0.7672 MB / 0.922 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1565, allocations: 13.34 kB / 0.922 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/0.1571, allocations: 176.3 kB / 0.9222 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1574, allocations: 343.7 kB / 0.9225 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1575, allocations: 25.03 kB / 0.9225 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.1575, allocations: 40.38 kB / 0.9226 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.158, allocations: 406.7 kB / 0.923 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.158, allocations: 0 / 0.923 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.158, allocations: 12 kB / 0.923 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.158, allocations: 8 kB / 0.923 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1582, allocations: 114.1 kB / 0.9231 GB, free: 14.39 MB / 0.8855 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.00111/0.1593, allocations: 1.479 MB / 0.9245 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.1595, allocations: 223.5 kB / 0.9248 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.1596, allocations: 64.14 kB / 0.9248 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.1598, allocations: 67.88 kB / 0.9249 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1598, allocations: 50.48 kB / 0.9249 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.1598, allocations: 0 / 0.9249 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0003203/0.1601, allocations: 178.8 kB / 0.9251 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1602, allocations: 102.8 kB / 0.9252 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1604, allocations: 327.2 kB / 0.9255 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1604, allocations: 25.7 kB / 0.9255 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.1605, allocations: 221.2 kB / 0.9257 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1605, allocations: 63.42 kB / 0.9258 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.1606, allocations: 66.09 kB / 0.9259 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1607, allocations: 350.7 kB / 0.9262 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.1607, allocations: 36.61 kB / 0.9262 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1609, allocations: 237.4 kB / 0.9265 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.161, allocations: 186.9 kB / 0.9266 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.161, allocations: 0 / 0.9266 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002542/0.1613, allocations: 214.8 kB / 0.9268 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1613, allocations: 4 kB / 0.9269 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1613, allocations: 11.92 kB / 0.9269 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1613, allocations: 4 kB / 0.9269 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.1615, allocations: 71.89 kB / 0.9269 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002391/0.1618, allocations: 0.5977 MB / 0.9275 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/0.1619, allocations: 27.83 kB / 0.9275 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1619, allocations: 16.11 kB / 0.9276 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.085e-05/0.162, allocations: 130.2 kB / 0.9277 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000115/0.1621, allocations: 232.8 kB / 0.9279 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001211/0.1622, allocations: 172.6 kB / 0.9281 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.1622, allocations: 4 kB / 0.9281 GB, free: 8.852 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.000233/0.1624, allocations: 210.9 kB / 0.9283 GB, free: 8.637 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-06/0.1624, allocations: 12 kB / 0.9283 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1624, allocations: 4 kB / 0.9283 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-06/0.1625, allocations: 4 kB / 0.9283 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1626, allocations: 75.89 kB / 0.9284 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1626, allocations: 11.92 kB / 0.9284 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.1627, allocations: 23.84 kB / 0.9284 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.1627, allocations: 16 kB / 0.9284 GB, free: 8.492 MB / 0.8855 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 7.594e-05/0.1628, allocations: 200.1 kB / 0.9286 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1629, allocations: 59.59 kB / 0.9287 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.1632, allocations: 247.7 kB / 0.9289 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1632, allocations: 4 kB / 0.9289 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1632, allocations: 3.984 kB / 0.9289 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1632, allocations: 96 / 0.9289 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.1639, allocations: 0.6992 MB / 0.9296 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1639, allocations: 7.984 kB / 0.9296 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.164, allocations: 63.83 kB / 0.9297 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.164, allocations: 3.938 kB / 0.9297 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.164, allocations: 4 kB / 0.9297 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001845/0.1642, allocations: 0.5821 MB / 0.9302 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1642, allocations: 0 / 0.9302 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1644, allocations: 333.8 kB / 0.9306 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1645, allocations: 55.67 kB / 0.9306 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1645, allocations: 0 / 0.9306 GB, free: 6.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.1646, allocations: 15.98 kB / 0.9306 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1646, allocations: 15.97 kB / 0.9306 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1647, allocations: 7.938 kB / 0.9306 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.1647, allocations: 136.6 kB / 0.9308 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1647, allocations: 0 / 0.9308 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000521/0.1653, allocations: 347.2 kB / 0.9311 GB, free: 5.637 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 23 * 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.0004841/0.1657, allocations: 293.8 kB / 0.9314 GB, free: 5.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.1661, allocations: 229.4 kB / 0.9316 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.1661, allocations: 8.125 kB / 0.9316 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1662, allocations: 64.77 kB / 0.9317 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1665, allocations: 134 kB / 0.9318 GB, free: 4.922 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.1674, allocations: 0.6888 MB / 0.9325 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.1676, allocations: 212.4 kB / 0.9327 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.1678, allocations: 165.2 kB / 0.9328 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of SimCode: time 1.062e-06/0.1678, allocations: 0 / 0.9328 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of Templates: time 0.007926/0.1757, allocations: 9.455 MB / 0.9421 GB, free: 10.39 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.sim & ./Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing > Buildings_13_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.173879926092923]