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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 96.97 kB / 15.69 MB, free: 488 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.001708/0.001708, allocations: 173.2 kB / 16.57 MB, free: 6.387 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.425/1.425, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6805/0.6805, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 12 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001209/0.139, allocations: 0.9672 MB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002227/0.1392, allocations: 113.8 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1393, allocations: 3.938 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.1393, allocations: 0 / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.1394, allocations: 7.969 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1395, allocations: 23.97 kB / 0.5578 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.131e-05/0.1396, allocations: 15.92 kB / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1396, allocations: 0 / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1396, allocations: 4 kB / 0.5578 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.019e-05/0.1397, allocations: 11.97 kB / 0.5578 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1397, allocations: 0 / 0.5578 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1398, allocations: 43.95 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.1398, allocations: 0 / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1399, allocations: 29.64 kB / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.409e-05/0.1399, allocations: 27.95 kB / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1399, allocations: 4 kB / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.14, allocations: 0 / 0.5579 GB, free: 10.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.14, allocations: 0 / 0.5579 GB, free: 10.42 MB / 430.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.0003396/0.1403, allocations: 323.7 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1404, allocations: 12.02 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.944e-05/0.1404, allocations: 34.56 kB / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.1404, allocations: 4 kB / 0.5583 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1405, allocations: 163 kB / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1406, allocations: 3.938 kB / 0.5585 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1406, allocations: 8 kB / 0.5585 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.303e-05/0.1407, allocations: 37.64 kB / 0.5585 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.1407, allocations: 0 / 0.5585 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1407, allocations: 4 kB / 0.5585 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1407, allocations: 0 / 0.5585 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.1407, allocations: 7.938 kB / 0.5585 GB, free: 9.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.1409, allocations: 149.7 kB / 0.5587 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.362e-05/0.1409, allocations: 30.61 kB / 0.5587 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006585/0.1416, allocations: 0.6052 MB / 0.5593 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1416, allocations: 34.55 kB / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1416, allocations: 0 / 0.5593 GB, free: 8.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000128/0.1418, allocations: 49.59 kB / 0.5594 GB, free: 8.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1418, allocations: 55.53 kB / 0.5594 GB, free: 8.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.1419, allocations: 101.8 kB / 0.5595 GB, free: 8.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1419, allocations: 29.7 kB / 0.5595 GB, free: 8.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.1419, allocations: 80.14 kB / 0.5596 GB, free: 8.371 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.142, allocations: 3.906 kB / 0.5596 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.142, allocations: 0 / 0.5596 GB, free: 8.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.1421, allocations: 314.8 kB / 0.5599 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1421, allocations: 0 / 0.5599 GB, free: 8.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.1421, allocations: 11.94 kB / 0.5599 GB, free: 8.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.381e-05/0.1421, allocations: 4.062 kB / 0.5599 GB, free: 8.035 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1421, allocations: 0 / 0.5599 GB, free: 8.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.278e-05/0.1422, allocations: 41.62 kB / 0.56 GB, free: 7.988 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1422, allocations: 8 kB / 0.56 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1422, allocations: 0 / 0.56 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1422, allocations: 0 / 0.56 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.1423, allocations: 7.953 kB / 0.56 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1423, allocations: 0 / 0.56 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.1423, allocations: 0 / 0.56 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1423, allocations: 8.031 kB / 0.56 GB, free: 7.965 MB / 430.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.721e-05/0.1424, allocations: 117.8 kB / 0.5601 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.1424, allocations: 0 / 0.5601 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.784e-05/0.1425, allocations: 40.83 kB / 0.5601 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1425, allocations: 3.938 kB / 0.5602 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.1425, allocations: 11.88 kB / 0.5602 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1425, allocations: 0 / 0.5602 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1427, allocations: 153.7 kB / 0.5603 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1427, allocations: 0 / 0.5603 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.1427, allocations: 12.02 kB / 0.5603 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1427, allocations: 0 / 0.5603 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1427, allocations: 0 / 0.5603 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.1427, allocations: 4 kB / 0.5603 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1427, allocations: 4 kB / 0.5603 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.1428, allocations: 65 kB / 0.5604 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.1429, allocations: 81.09 kB / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1429, allocations: 32 / 0.5605 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.1429, allocations: 4 kB / 0.5605 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.1429, allocations: 4 kB / 0.5605 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1429, allocations: 0 / 0.5605 GB, free: 7.367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.143, allocations: 79.28 kB / 0.5605 GB, free: 7.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.143, allocations: 0 / 0.5605 GB, free: 7.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.1432, allocations: 19.89 kB / 0.5606 GB, free: 7.27 MB / 430.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.0003842/0.1436, allocations: 0.6132 MB / 0.5612 GB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.873e-05/0.1436, allocations: 8 kB / 0.5612 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1436, allocations: 0 / 0.5612 GB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.1436, allocations: 7.938 kB / 0.5612 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.1439, allocations: 17.34 kB / 0.5612 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.1444, allocations: 348.6 kB / 0.5615 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1446, allocations: 0.677 MB / 0.5622 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.1447, allocations: 0 / 0.5622 GB, free: 5.504 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.1447, allocations: 11.44 kB / 0.5622 GB, free: 5.492 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1447, allocations: 4.062 kB / 0.5622 GB, free: 5.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01095/0.1557, allocations: 1.202 MB / 0.5634 GB, free: 4.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/0.1559, allocations: 180.2 kB / 0.5636 GB, free: 4.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.858, allocations: 0 / 0.5636 GB, free: 4.195 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: