Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008264, allocations: 99 kB / 15.05 MB, free: 1.105 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.0008857/0.0008857, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 270.7 kB / 291.3 MB, free: 1.914 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7747/0.7747, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003816, allocations: 17.14 kB / 0.5683 GB, free: 38.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 83.08 MB / 0.6494 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001166/0.145, allocations: 0.9558 MB / 0.6504 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008874/0.1459, allocations: 0.6395 MB / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.146, allocations: 0.875 kB / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.146, allocations: 0 / 0.651 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1461, allocations: 4 kB / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1463, allocations: 78.06 kB / 0.6511 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.434e-05/0.1463, allocations: 0 / 0.6511 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.1464, allocations: 4 kB / 0.6511 GB, free: 1.902 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1465, allocations: 14.81 kB / 0.6511 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.1465, allocations: 8 kB / 0.6511 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.036e-06/0.1465, allocations: 0 / 0.6511 GB, free: 1.883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.1467, allocations: 131.7 kB / 0.6512 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.1468, allocations: 0 / 0.6512 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.1468, allocations: 25.7 kB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1469, allocations: 51.92 kB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1469, allocations: 5.406 kB / 0.6513 GB, free: 1.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1469, allocations: 4 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1469, allocations: 0 / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003099/0.1472, allocations: 328.2 kB / 0.6516 GB, free: 1.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1473, allocations: 12.53 kB / 0.6516 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.1473, allocations: 4.406 kB / 0.6516 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1474, allocations: 159.6 kB / 0.6518 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1474, allocations: 4.984 kB / 0.6518 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1475, allocations: 0 / 0.6518 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.1475, allocations: 34.27 kB / 0.6518 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1476, allocations: 3.938 kB / 0.6518 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1476, allocations: 0.7188 kB / 0.6518 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1476, allocations: 7.984 kB / 0.6518 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.549e-05/0.1476, allocations: 5.156 kB / 0.6518 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1478, allocations: 149.7 kB / 0.652 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.1478, allocations: 31.95 kB / 0.652 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.1482, allocations: 416.4 kB / 0.6524 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1482, allocations: 30.56 kB / 0.6524 GB, free: 264 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.1482, allocations: 7.984 kB / 0.6524 GB, free: 256 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001174/0.1484, allocations: 46.12 kB / 0.6525 GB, free: 204 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1484, allocations: 52 kB / 0.6525 GB, free: 140 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1485, allocations: 95.27 kB / 0.6526 GB, free: 36 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1485, allocations: 25.7 kB / 0.6527 GB, free: 4 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1485, allocations: 84.77 kB / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.1486, allocations: 11.88 kB / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-06/0.1486, allocations: 0.75 kB / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1487, allocations: 311.6 kB / 0.653 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.1487, allocations: 7.938 kB / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-06/0.1487, allocations: 0.5625 kB / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.517e-05/0.1487, allocations: 8.969 kB / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1487, allocations: 0 / 0.6531 GB, free: 15.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.315e-05/0.1488, allocations: 47.05 kB / 0.6531 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1488, allocations: 5.406 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1488, allocations: 4 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1488, allocations: 0.625 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/0.1489, allocations: 0 / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1489, allocations: 4.719 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.132e-05/0.1489, allocations: 0 / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.1489, allocations: 0.75 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/0.149, allocations: 110.4 kB / 0.6532 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.149, allocations: 5.859 kB / 0.6532 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.689e-05/0.1491, allocations: 52.69 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1491, allocations: 4 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1491, allocations: 0 / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1491, allocations: 1.656 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.462e-05/0.1492, allocations: 149.7 kB / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1492, allocations: 0 / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.1492, allocations: 0 / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1492, allocations: 4 kB / 0.6534 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1492, allocations: 4.859 kB / 0.6534 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1492, allocations: 0 / 0.6534 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1492, allocations: 0.7188 kB / 0.6534 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.289e-05/0.1493, allocations: 68.12 kB / 0.6535 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.1493, allocations: 77.11 kB / 0.6536 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.1494, allocations: 4 kB / 0.6536 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.1494, allocations: 7.953 kB / 0.6536 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1494, allocations: 3.938 kB / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.1494, allocations: 0 / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.865e-05/0.1494, allocations: 84.42 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 0 / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.1496, allocations: 25.16 kB / 0.6537 GB, free: 14.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001756/0.1498, allocations: 123.8 kB / 0.6538 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.1499, allocations: 12.64 kB / 0.6538 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1499, allocations: 3.656 kB / 0.6538 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.1499, allocations: 4 kB / 0.6538 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.691e-05/0.15, allocations: 5.875 kB / 0.6538 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.1502, allocations: 96.66 kB / 0.6539 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.1504, allocations: 0.677 MB / 0.6546 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.633e-05/0.1504, allocations: 0 / 0.6546 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.1504, allocations: 7.438 kB / 0.6546 GB, free: 13.85 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1504, allocations: 0.6562 kB / 0.6546 GB, free: 13.85 MB / 462.1 MB Notification: Performance of Templates: time 0.002221/0.1527, allocations: 0.699 MB / 0.6553 GB, free: 13.16 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) Environment - environmentSimulation: