Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.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.00161/0.00161, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001562/0.001562, allocations: 177 kB / 23.36 MB, free: 1.133 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.9166/0.9166, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7684/0.7684, allocations: 154.6 MB / 414.8 MB, free: 484 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.6562 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.738e-06/1.13e-05, allocations: 2.312 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1253/0.1253, allocations: 151.1 MB / 0.6162 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005756/0.131, allocations: 3.826 MB / 0.62 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.1319, allocations: 47.62 kB / 0.62 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006981/0.1326, allocations: 317.8 kB / 0.6203 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.1349, allocations: 1.379 MB / 0.6217 GB, free: 10.16 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.1358, allocations: 0.5574 MB / 0.6222 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.1384, allocations: 3.306 MB / 0.6254 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008975/0.1393, allocations: 0.8483 MB / 0.6263 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.1419, allocations: 1.708 MB / 0.6279 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.1429, allocations: 0.9699 MB / 0.6289 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.143, allocations: 124 kB / 0.629 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1436, allocations: 371.2 kB / 0.6294 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.144, allocations: 0.5649 MB / 0.6299 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004815/0.1445, allocations: 0.538 MB / 0.6304 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1457, allocations: 1.305 MB / 0.6317 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1457, allocations: 0 / 0.6317 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1457, allocations: 0 / 0.6317 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.1458, allocations: 0 / 0.6317 GB, free: 15.86 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002045/0.1478, allocations: 1.546 MB / 0.6332 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1478, allocations: 11.97 kB / 0.6332 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.1489, allocations: 420.1 kB / 0.6336 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.1496, allocations: 0.6127 MB / 0.6342 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.1497, allocations: 82.14 kB / 0.6343 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1498, allocations: 108 kB / 0.6344 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.1505, allocations: 0.8329 MB / 0.6352 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.1506, allocations: 0 / 0.6352 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.1507, allocations: 43.98 kB / 0.6353 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.1507, allocations: 62.06 kB / 0.6353 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.1512, allocations: 342.8 kB / 0.6357 GB, free: 11.66 MB / 0.6042 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.002668/0.1538, allocations: 2.149 MB / 0.6378 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.1544, allocations: 407.6 kB / 0.6381 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1546, allocations: 181.7 kB / 0.6383 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1547, allocations: 16.64 kB / 0.6383 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.155, allocations: 469.8 kB / 0.6388 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.155, allocations: 4 kB / 0.6388 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.0006259/0.1556, allocations: 429.9 kB / 0.6392 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.1557, allocations: 67.94 kB / 0.6393 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.1559, allocations: 447.1 kB / 0.6397 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.156, allocations: 37.7 kB / 0.6397 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1561, allocations: 405.8 kB / 0.6401 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1563, allocations: 277.5 kB / 0.6404 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.1564, allocations: 122.6 kB / 0.6405 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1565, allocations: 386.6 kB / 0.6409 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1566, allocations: 92.8 kB / 0.6409 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1568, allocations: 192.8 kB / 0.6411 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.1573, allocations: 356.7 kB / 0.6415 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1574, allocations: 4 kB / 0.6415 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004164/0.1578, allocations: 391.9 kB / 0.6419 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1578, allocations: 8 kB / 0.6419 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.1578, allocations: 4.344 kB / 0.6419 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1578, allocations: 8 kB / 0.6419 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.1582, allocations: 155.7 kB / 0.642 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1582, allocations: 4 kB / 0.642 GB, free: 4.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.1584, allocations: 59.52 kB / 0.6421 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.1585, allocations: 20 kB / 0.6421 GB, free: 4.816 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001774/0.1586, allocations: 152.5 kB / 0.6422 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.1587, allocations: 79.86 kB / 0.6423 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.1588, allocations: 99.23 kB / 0.6424 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1588, allocations: 8 kB / 0.6424 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1588, allocations: 4 kB / 0.6424 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003731/0.1592, allocations: 0.5815 MB / 0.643 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1603, allocations: 1.007 MB / 0.644 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1603, allocations: 4 kB / 0.644 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.1607, allocations: 167.8 kB / 0.6441 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1607, allocations: 3.984 kB / 0.6441 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1608, allocations: 12 kB / 0.6442 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.1608, allocations: 8.031 kB / 0.6442 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1608, allocations: 3.938 kB / 0.6442 GB, free: 2.555 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.1614, allocations: 0.5975 MB / 0.6448 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1615, allocations: 131.2 kB / 0.6449 GB, free: 1.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.1616, allocations: 16 kB / 0.6449 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1619, allocations: 20.84 kB / 0.6449 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1619, allocations: 48.52 kB / 0.645 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.1619, allocations: 15.98 kB / 0.645 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000139/0.1621, allocations: 200.4 kB / 0.6452 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1621, allocations: 4 kB / 0.6452 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000524/0.1626, allocations: 371.2 kB / 0.6455 GB, free: 1.148 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0001657/0.1628, allocations: 108.3 kB / 0.6456 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.1631, allocations: 332.7 kB / 0.6459 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.1632, allocations: 8.25 kB / 0.646 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1633, allocations: 185.8 kB / 0.6461 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1645, allocations: 0.565 MB / 0.6467 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.1667, allocations: 1.675 MB / 0.6483 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1668, allocations: 245.4 kB / 0.6485 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004555/0.1673, allocations: 146.7 kB / 0.6487 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.1679, allocations: 367.1 kB / 0.649 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.163e-06/0.1679, allocations: 4 kB / 0.649 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.02172/0.1897, allocations: 19.34 MB / 0.6679 GB, free: 10.64 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.12569131096825]