Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.004796/0.004796, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001216/0.001216, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7268/0.7268, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.61 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1324, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001919/0.1343, allocations: 1.288 MB / 0.6604 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.1348, allocations: 307.2 kB / 0.6607 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1348, allocations: 4 kB / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1349, allocations: 7.875 kB / 0.6608 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.464e-05/0.135, allocations: 11.92 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1352, allocations: 74.22 kB / 0.6608 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.1353, allocations: 35.92 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1353, allocations: 0 / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.1354, allocations: 39.84 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.1355, allocations: 7.938 kB / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1355, allocations: 0 / 0.6609 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1356, allocations: 83.91 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1357, allocations: 7.969 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1357, allocations: 15.88 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.1358, allocations: 82.66 kB / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1358, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1359, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1359, allocations: 0 / 0.6611 GB, free: 8.785 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000324/0.1362, allocations: 348.3 kB / 0.6614 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1362, allocations: 12.03 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.1363, allocations: 34.75 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.1363, allocations: 8.828 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.617e-05/0.1364, allocations: 164.4 kB / 0.6616 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1364, allocations: 4.375 kB / 0.6616 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1364, allocations: 4.125 kB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.1365, allocations: 41.62 kB / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.1365, allocations: 0 / 0.6617 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1365, allocations: 4 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.1365, allocations: 0 / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.1366, allocations: 8 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1367, allocations: 157.7 kB / 0.6618 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.1368, allocations: 38.56 kB / 0.6619 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.1368, allocations: 16.86 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009437/0.1378, allocations: 1.183 MB / 0.6631 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1378, allocations: 38.5 kB / 0.6631 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1378, allocations: 0 / 0.6631 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000129/0.1379, allocations: 53.59 kB / 0.6631 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.138, allocations: 51.41 kB / 0.6632 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.138, allocations: 105.8 kB / 0.6633 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1381, allocations: 25.7 kB / 0.6633 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.1381, allocations: 88.08 kB / 0.6634 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.1381, allocations: 11.89 kB / 0.6634 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1381, allocations: 17.72 kB / 0.6634 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.1382, allocations: 310.8 kB / 0.6637 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.1383, allocations: 8 kB / 0.6637 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.1383, allocations: 11.88 kB / 0.6637 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.1383, allocations: 25.11 kB / 0.6638 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1383, allocations: 0 / 0.6638 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.372e-05/0.1384, allocations: 49.55 kB / 0.6638 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1384, allocations: 7.984 kB / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1384, allocations: 0 / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1384, allocations: 4 kB / 0.6638 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.1385, allocations: 4 kB / 0.6638 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1385, allocations: 8.312 kB / 0.6638 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.1385, allocations: 0 / 0.6638 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-06/0.1385, allocations: 0 / 0.6638 GB, free: 5.484 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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 6.137e-05/0.1386, allocations: 113.8 kB / 0.6639 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1386, allocations: 3.938 kB / 0.664 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1387, allocations: 69.56 kB / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1387, allocations: 0 / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1387, allocations: 0 / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1387, allocations: 0 / 0.664 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.435e-05/0.1388, allocations: 161.6 kB / 0.6642 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1388, allocations: 0 / 0.6642 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.1389, allocations: 4 kB / 0.6642 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1389, allocations: 0 / 0.6642 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1389, allocations: 0 / 0.6642 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1389, allocations: 0 / 0.6642 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1389, allocations: 4 kB / 0.6642 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.139, allocations: 84.91 kB / 0.6643 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.139, allocations: 85.09 kB / 0.6643 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1391, allocations: 0 / 0.6643 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.1391, allocations: 0 / 0.6643 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1391, allocations: 7.984 kB / 0.6643 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1391, allocations: 0 / 0.6643 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.1392, allocations: 95.2 kB / 0.6644 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1392, allocations: 0 / 0.6644 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000208/0.1394, allocations: 35.92 kB / 0.6645 GB, free: 4.719 MB / 0.4981 GB 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 (3): * Single equations (assignments): 3 * 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.0003514/0.1397, allocations: 0.6318 MB / 0.6651 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.204e-05/0.1398, allocations: 16 kB / 0.6651 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1398, allocations: 4 kB / 0.6651 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.1399, allocations: 7.984 kB / 0.6651 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.14, allocations: 5.562 kB / 0.6651 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.1404, allocations: 179.9 kB / 0.6653 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1406, allocations: 0.6768 MB / 0.666 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.1406, allocations: 8 kB / 0.666 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1407, allocations: 11.44 kB / 0.666 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1407, allocations: 0 / 0.666 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.1573, allocations: 1.627 MB / 0.6676 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.238, allocations: 11.06 kB / 0.6676 GB, free: 1.586 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)