Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001276, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 73.02 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.9359/1.29, allocations: 192.6 MB / 1.256 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007232/1.298, allocations: 4.021 MB / 1.26 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/1.299, allocations: 20.94 kB / 1.26 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/1.301, allocations: 475.4 kB / 1.261 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004901/1.306, allocations: 1.527 MB / 1.262 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004721/1.31, allocations: 1.351 MB / 1.263 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003272/1.314, allocations: 1.635 MB / 1.265 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/1.315, allocations: 0.9546 MB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/1.318, allocations: 0.9175 MB / 1.267 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/1.319, allocations: 0.8502 MB / 1.268 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000187/1.319, allocations: 95.03 kB / 1.268 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/1.323, allocations: 1.305 MB / 1.269 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005653/1.323, allocations: 359.4 kB / 1.269 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009634/1.324, allocations: 0.5081 MB / 1.27 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004328/1.329, allocations: 1.618 MB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.329, allocations: 0.8438 kB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.224e-06/1.329, allocations: 0.5 kB / 1.272 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.803e-05/1.329, allocations: 2.812 kB / 1.272 GB, free: 5.477 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.004038/1.333, allocations: 1.449 MB / 1.273 GB, free: 20.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.333, allocations: 9.734 kB / 1.273 GB, free: 20.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.335, allocations: 238.4 kB / 1.273 GB, free: 20.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009992/1.336, allocations: 0.5867 MB / 1.274 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/1.336, allocations: 42.84 kB / 1.274 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.336, allocations: 47.91 kB / 1.274 GB, free: 20.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/1.338, allocations: 0.96 MB / 1.275 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.338, allocations: 5.906 kB / 1.275 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/1.338, allocations: 26.03 kB / 1.275 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.338, allocations: 29.36 kB / 1.275 GB, free: 20.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/1.34, allocations: 0.9417 MB / 1.276 GB, free: 20.23 MB / 1.014 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.006916/1.347, allocations: 4.265 MB / 1.28 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.348, allocations: 0.5972 MB / 1.28 GB, free: 17.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.349, allocations: 0.5187 MB / 1.281 GB, free: 17.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/1.35, allocations: 0.873 MB / 1.282 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.35, allocations: 43.22 kB / 1.282 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001853/1.352, allocations: 420.1 kB / 1.282 GB, free: 16.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.706e-06/1.352, allocations: 0 / 1.282 GB, free: 16.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.01868/1.371, allocations: 3.84 MB / 1.286 GB, free: 16.61 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.371, allocations: 59.05 kB / 1.286 GB, free: 16.54 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/1.372, allocations: 0.7073 MB / 1.287 GB, free: 16.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00027/1.373, allocations: 35.77 kB / 1.287 GB, free: 16.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.373, allocations: 322 kB / 1.287 GB, free: 16.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/1.373, allocations: 179 kB / 1.287 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/1.373, allocations: 149.5 kB / 1.287 GB, free: 16.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.374, allocations: 328.5 kB / 1.288 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/1.374, allocations: 397.1 kB / 1.288 GB, free: 15.83 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/1.375, allocations: 486.5 kB / 1.289 GB, free: 15.76 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.376, allocations: 0.9228 MB / 1.289 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.376, allocations: 1.438 kB / 1.29 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/1.388, allocations: 2.558 MB / 1.292 GB, free: 15.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/1.388, allocations: 8.938 kB / 1.292 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.388, allocations: 2.938 kB / 1.292 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009541/1.397, allocations: 1.741 MB / 1.294 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/1.398, allocations: 92.59 kB / 1.294 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/1.411, allocations: 7.152 MB / 1.301 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.412, allocations: 18.06 kB / 1.301 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.412, allocations: 48.42 kB / 1.301 GB, free: 12.53 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004766/1.413, allocations: 210.9 kB / 1.301 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.413, allocations: 86.41 kB / 1.301 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/1.418, allocations: 1.735 MB / 1.303 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.418, allocations: 6.094 kB / 1.303 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.418, allocations: 3.406 kB / 1.303 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.418, allocations: 6.188 kB / 1.303 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005816/1.424, allocations: 2.538 MB / 1.305 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.424, allocations: 1.125 kB / 1.305 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/1.424, allocations: 88.23 kB / 1.305 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0034/1.428, allocations: 0.8104 MB / 1.306 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-05/1.428, allocations: 15.62 kB / 1.306 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/1.434, allocations: 4.859 MB / 1.311 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.434, allocations: 3.938 kB / 1.311 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/1.44, allocations: 2.148 MB / 1.313 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/1.441, allocations: 231.1 kB / 1.313 GB, free: 8.555 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.441, allocations: 20.16 kB / 1.313 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/1.442, allocations: 19.59 kB / 1.313 GB, free: 8.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/1.442, allocations: 62.17 kB / 1.313 GB, free: 8.535 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/1.442, allocations: 22.02 kB / 1.313 GB, free: 8.535 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007006/1.443, allocations: 0.4999 MB / 1.314 GB, free: 8.441 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.443, allocations: 0 / 1.314 GB, free: 8.441 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001194/1.444, allocations: 285.4 kB / 1.314 GB, free: 8.426 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005261/1.444, allocations: 223.9 kB / 1.314 GB, free: 8.309 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003599/1.448, allocations: 1.519 MB / 1.316 GB, free: 8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.448, allocations: 0 / 1.316 GB, free: 8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.45, allocations: 0.914 MB / 1.317 GB, free: 7.734 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.452, allocations: 458.9 kB / 1.317 GB, free: 7.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.455, allocations: 1.737 MB / 1.319 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/1.456, allocations: 0.9846 MB / 1.32 GB, free: 6.156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008105/1.456, allocations: 169.3 kB / 1.32 GB, free: 6.109 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/1.457, allocations: 67.12 kB / 1.32 GB, free: 6.102 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.457, allocations: 0 / 1.32 GB, free: 6.102 MB / 1.014 GB Notification: Performance of Templates: time 0.03813/1.495, allocations: 22.65 MB / 1.342 GB, free: 14.09 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)