Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 105.6 kB / 16.4 MB, free: 6.492 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.002107/0.002107, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7912/0.7912, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.42 kB / 0.5685 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2336, allocations: 77.93 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002876/0.2365, allocations: 1.249 MB / 0.6458 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003461/0.2368, allocations: 119.8 kB / 0.6459 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.2369, allocations: 0 / 0.6459 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.2369, allocations: 0 / 0.6459 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.2371, allocations: 11.94 kB / 0.6459 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.2373, allocations: 43.88 kB / 0.6459 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.2374, allocations: 15.92 kB / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.2375, allocations: 0 / 0.646 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.2375, allocations: 7.938 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.2376, allocations: 8 kB / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2376, allocations: 0 / 0.646 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.2377, allocations: 51.94 kB / 0.646 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.2378, allocations: 4 kB / 0.646 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.2378, allocations: 7.938 kB / 0.646 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.2379, allocations: 35.88 kB / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.238, allocations: 0 / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.238, allocations: 0 / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.238, allocations: 4 kB / 0.6461 GB, free: 7.426 MB / 494.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.0004038/0.2384, allocations: 335.4 kB / 0.6464 GB, free: 7.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2384, allocations: 12.61 kB / 0.6464 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2385, allocations: 8.938 kB / 0.6464 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2386, allocations: 172.2 kB / 0.6466 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2387, allocations: 384 / 0.6466 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.2387, allocations: 4.312 kB / 0.6466 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.2388, allocations: 33.64 kB / 0.6466 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2388, allocations: 0 / 0.6466 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2388, allocations: 11.92 kB / 0.6466 GB, free: 6.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2388, allocations: 4 kB / 0.6466 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.2388, allocations: 0 / 0.6466 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.239, allocations: 153.7 kB / 0.6468 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.2391, allocations: 30.53 kB / 0.6468 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.2391, allocations: 4.859 kB / 0.6468 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.2398, allocations: 0.6091 MB / 0.6474 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2398, allocations: 30.56 kB / 0.6474 GB, free: 5.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2399, allocations: 0 / 0.6474 GB, free: 5.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.24, allocations: 49.64 kB / 0.6475 GB, free: 5.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.2401, allocations: 55.41 kB / 0.6475 GB, free: 5.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.2402, allocations: 101.8 kB / 0.6476 GB, free: 5.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2402, allocations: 25.7 kB / 0.6477 GB, free: 5.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.2402, allocations: 80.14 kB / 0.6477 GB, free: 5.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.2403, allocations: 7.953 kB / 0.6477 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.2403, allocations: 13.72 kB / 0.6478 GB, free: 5.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2404, allocations: 315 kB / 0.6481 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.2404, allocations: 4 kB / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.2405, allocations: 0 / 0.6481 GB, free: 5.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.2405, allocations: 20.84 kB / 0.6481 GB, free: 5.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2405, allocations: 0 / 0.6481 GB, free: 5.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.737e-05/0.2406, allocations: 41.64 kB / 0.6481 GB, free: 4.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2406, allocations: 5.719 kB / 0.6481 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2406, allocations: 0 / 0.6481 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2406, allocations: 4.031 kB / 0.6481 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.2407, allocations: 8 kB / 0.6481 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2407, allocations: 0 / 0.6481 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.2407, allocations: 0 / 0.6481 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.2407, allocations: 4 kB / 0.6481 GB, free: 4.961 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.2408, allocations: 109.8 kB / 0.6482 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2408, allocations: 3.938 kB / 0.6482 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2409, allocations: 48.81 kB / 0.6483 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2409, allocations: 3.938 kB / 0.6483 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.241, allocations: 4.031 kB / 0.6483 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.241, allocations: 0 / 0.6483 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.2411, allocations: 153.7 kB / 0.6484 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2411, allocations: 3.938 kB / 0.6485 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.2411, allocations: 11.92 kB / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2411, allocations: 0 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2411, allocations: 0 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2412, allocations: 0 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2412, allocations: 0 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.2412, allocations: 65.08 kB / 0.6485 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2413, allocations: 92.98 kB / 0.6486 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2413, allocations: 0 / 0.6486 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.476e-05/0.2413, allocations: 0 / 0.6486 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.2414, allocations: 192 / 0.6486 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2414, allocations: 4 kB / 0.6486 GB, free: 4.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.2414, allocations: 83.27 kB / 0.6487 GB, free: 4.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2414, allocations: 0 / 0.6487 GB, free: 4.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.2416, allocations: 19.92 kB / 0.6487 GB, free: 4.266 MB / 494.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 (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.0001821/0.2418, allocations: 115.2 kB / 0.6488 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.2419, allocations: 15.92 kB / 0.6488 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2419, allocations: 0 / 0.6488 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.2419, allocations: 4 kB / 0.6488 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2422, allocations: 11.94 kB / 0.6489 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.2425, allocations: 106.2 kB / 0.649 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2428, allocations: 0.6729 MB / 0.6496 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.2428, allocations: 7.984 kB / 0.6496 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.2428, allocations: 7.438 kB / 0.6496 GB, free: 3.266 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.2428, allocations: 0 / 0.6496 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Templates: time 0.002783/0.2456, allocations: 0.6007 MB / 0.6502 GB, free: 2.672 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)