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.006075/0.006075, allocations: 101 kB / 15.73 MB, free: 6.059 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.001498/0.001498, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7875/0.7875, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 63.12 kB / 0.5809 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002255/0.1295, allocations: 1.281 MB / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005588/0.13, allocations: 311.2 kB / 0.6608 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.1301, allocations: 0 / 0.6608 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.1301, allocations: 4 kB / 0.6608 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.1302, allocations: 7.922 kB / 0.6608 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.1305, allocations: 84.7 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1305, allocations: 35.84 kB / 0.6609 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1306, allocations: 11.97 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.605e-05/0.1307, allocations: 19.92 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.1307, allocations: 15.92 kB / 0.6609 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1308, allocations: 3.938 kB / 0.6609 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1309, allocations: 83.91 kB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.1309, allocations: 8 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.131, allocations: 11.88 kB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1311, allocations: 76 kB / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1312, allocations: 0 / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1312, allocations: 0 / 0.6611 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1312, allocations: 0 / 0.6611 GB, free: 8.801 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.0004029/0.1316, allocations: 359.2 kB / 0.6614 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1316, allocations: 12.03 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.1317, allocations: 34.73 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.1317, allocations: 4.938 kB / 0.6615 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1318, allocations: 164.3 kB / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1318, allocations: 4.375 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1319, allocations: 4.125 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.132, allocations: 37.69 kB / 0.6617 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.132, allocations: 3.938 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.132, allocations: 0 / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.132, allocations: 4 kB / 0.6617 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.132, allocations: 15.92 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1322, allocations: 161.7 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.1323, allocations: 30.58 kB / 0.6619 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.1323, allocations: 16.86 kB / 0.6619 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.1336, allocations: 1.183 MB / 0.6631 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1336, allocations: 30.56 kB / 0.6631 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1336, allocations: 0 / 0.6631 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001537/0.1338, allocations: 53.62 kB / 0.6631 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1338, allocations: 51.41 kB / 0.6632 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.1339, allocations: 109.8 kB / 0.6633 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1339, allocations: 33.64 kB / 0.6633 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.134, allocations: 84.14 kB / 0.6634 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.134, allocations: 15.83 kB / 0.6634 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1341, allocations: 13.72 kB / 0.6634 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1342, allocations: 318.8 kB / 0.6637 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.1342, allocations: 0 / 0.6637 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.1342, allocations: 7.984 kB / 0.6638 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.1343, allocations: 20.8 kB / 0.6638 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1343, allocations: 4 kB / 0.6638 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.334e-05/0.1344, allocations: 49.62 kB / 0.6638 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.1344, allocations: 4 kB / 0.6638 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.1344, allocations: 0 / 0.6638 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1344, allocations: 4 kB / 0.6638 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.874e-05/0.1345, allocations: 8.328 kB / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.1345, allocations: 0 / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.1345, allocations: 0 / 0.6638 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1345, allocations: 0 / 0.6638 GB, free: 5.5 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 8.293e-05/0.1346, allocations: 113.8 kB / 0.6639 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1346, allocations: 7.891 kB / 0.664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.1347, allocations: 69.81 kB / 0.664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1348, allocations: 0 / 0.664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1348, allocations: 0 / 0.664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1348, allocations: 0 / 0.664 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.1349, allocations: 161.6 kB / 0.6642 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1349, allocations: 0 / 0.6642 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.1349, allocations: 8 kB / 0.6642 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1349, allocations: 0 / 0.6642 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.135, allocations: 4 kB / 0.6642 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.135, allocations: 3.984 kB / 0.6642 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.135, allocations: 3.938 kB / 0.6642 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.1351, allocations: 80.95 kB / 0.6643 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.1351, allocations: 81.11 kB / 0.6644 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.1352, allocations: 0 / 0.6644 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.1352, allocations: 4 kB / 0.6644 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.1352, allocations: 7.984 kB / 0.6644 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1352, allocations: 3.938 kB / 0.6644 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.1353, allocations: 91.27 kB / 0.6645 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1353, allocations: 0 / 0.6645 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002127/0.1355, allocations: 31.86 kB / 0.6645 GB, free: 4.727 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.0004623/0.136, allocations: 0.6357 MB / 0.6651 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.1361, allocations: 19.94 kB / 0.6651 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1361, allocations: 0 / 0.6651 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.1361, allocations: 11.98 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.0001922/0.1363, allocations: 6.406 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.0003639/0.1367, allocations: 167.5 kB / 0.6653 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.137, allocations: 0.6845 MB / 0.666 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.137, allocations: 4 kB / 0.666 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1371, allocations: 11.44 kB / 0.666 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1371, allocations: 0 / 0.666 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/0.2598, allocations: 1.618 MB / 0.6676 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.212, allocations: 6.688 kB / 0.6676 GB, free: 1.605 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)