Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_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.004646/0.004646, allocations: 101.2 kB / 15.73 MB, free: 6.02 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.001255/0.001255, allocations: 195 kB / 16.67 MB, free: 5.93 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8697/0.8697, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.42 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1377, allocations: 81.03 MB / 0.6649 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002269/0.14, allocations: 1.253 MB / 0.6661 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.1403, allocations: 119.9 kB / 0.6662 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.1403, allocations: 0 / 0.6662 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.1403, allocations: 3.984 kB / 0.6662 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.706e-05/0.1404, allocations: 7.922 kB / 0.6662 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.1406, allocations: 35.89 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.1407, allocations: 11.94 kB / 0.6663 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1407, allocations: 8 kB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.1407, allocations: 11.88 kB / 0.6663 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.1408, allocations: 7.969 kB / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1408, allocations: 4 kB / 0.6663 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1409, allocations: 51.94 kB / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.141, allocations: 0 / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.141, allocations: 3.938 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1411, allocations: 40.17 kB / 0.6664 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1411, allocations: 0 / 0.6664 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1411, allocations: 0 / 0.6664 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1411, allocations: 4 kB / 0.6664 GB, free: 4.059 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003934/0.1415, allocations: 331.5 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1416, allocations: 9.109 kB / 0.6667 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1416, allocations: 34.75 kB / 0.6667 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.1417, allocations: 8.828 kB / 0.6668 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1418, allocations: 172.3 kB / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1418, allocations: 384 / 0.6669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1418, allocations: 4.125 kB / 0.6669 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.417e-05/0.1419, allocations: 33.7 kB / 0.667 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1419, allocations: 3.938 kB / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1419, allocations: 0 / 0.667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.142, allocations: 3.984 kB / 0.667 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.142, allocations: 4 kB / 0.667 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1422, allocations: 157.7 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.1422, allocations: 22.61 kB / 0.6671 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.1423, allocations: 12.86 kB / 0.6671 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007863/0.1431, allocations: 0.6091 MB / 0.6677 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1431, allocations: 30.56 kB / 0.6678 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.246e-06/0.1431, allocations: 0 / 0.6678 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.1432, allocations: 49.58 kB / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1433, allocations: 55.39 kB / 0.6679 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.1434, allocations: 97.86 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1434, allocations: 29.83 kB / 0.668 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.1434, allocations: 80.14 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1435, allocations: 3.953 kB / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1435, allocations: 17.72 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1436, allocations: 314.8 kB / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.1437, allocations: 4 kB / 0.6684 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.1437, allocations: 0 / 0.6684 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.1437, allocations: 20.86 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1437, allocations: 4 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.531e-05/0.1438, allocations: 41.62 kB / 0.6685 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1438, allocations: 4 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1438, allocations: 0 / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1438, allocations: 0 / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.1439, allocations: 4 kB / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1439, allocations: 0 / 0.6685 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.1439, allocations: 3.953 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1439, allocations: 4 kB / 0.6685 GB, free: 1.559 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 (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 8.177e-05/0.144, allocations: 117.8 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.144, allocations: 3.938 kB / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.561e-05/0.1441, allocations: 48.75 kB / 0.6686 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1441, allocations: 0 / 0.6686 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1442, allocations: 8 kB / 0.6686 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1442, allocations: 0 / 0.6686 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1443, allocations: 153.6 kB / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1443, allocations: 0 / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.1443, allocations: 4 kB / 0.6688 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1443, allocations: 8.031 kB / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.1443, allocations: 0 / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1444, allocations: 3.984 kB / 0.6688 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1444, allocations: 0 / 0.6688 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.667e-05/0.1444, allocations: 69 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.1445, allocations: 81.11 kB / 0.669 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1445, allocations: 0 / 0.669 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.1445, allocations: 32 / 0.669 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.1446, allocations: 7.984 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.1446, allocations: 0 / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.1446, allocations: 79.28 kB / 0.669 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1446, allocations: 0 / 0.669 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002011/0.1448, allocations: 15.94 kB / 0.669 GB, free: 0.8633 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 (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.0004558/0.1453, allocations: 0.624 MB / 0.6697 GB, free: 212 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.1454, allocations: 11.92 kB / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1454, allocations: 4 kB / 0.6697 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.1454, allocations: 4 kB / 0.6697 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1456, allocations: 8 kB / 0.6697 GB, free: 184 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1466, allocations: 1.083 MB / 0.6707 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.147, allocations: 0.6811 MB / 0.6714 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.147, allocations: 4 kB / 0.6714 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.147, allocations: 7.438 kB / 0.6714 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.414e-06/0.147, allocations: 0 / 0.6714 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.1684, allocations: 1.442 MB / 0.6728 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/7.917, allocations: 11.78 kB / 0.6728 GB, free: 12.94 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)