Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_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.005698/0.005698, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.001247/0.001247, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 278.8 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 95.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002444/0.1567, allocations: 1.298 MB / 0.7672 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005507/0.1573, allocations: 294.9 kB / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.1573, allocations: 0 / 0.7674 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.1574, allocations: 7.938 kB / 0.7675 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.1575, allocations: 7.922 kB / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1578, allocations: 75.72 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.1579, allocations: 31.92 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1579, allocations: 7.984 kB / 0.7676 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1581, allocations: 39.84 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.1581, allocations: 11.92 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1581, allocations: 0 / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.1583, allocations: 83.91 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1583, allocations: 0 / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1584, allocations: 15.88 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1585, allocations: 80 kB / 0.7678 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1585, allocations: 4 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1586, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.1586, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 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.000406/0.159, allocations: 359.3 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.159, allocations: 12.03 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.1591, allocations: 30.75 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.1591, allocations: 8.938 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1592, allocations: 172.2 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1593, allocations: 384 / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1593, allocations: 8.125 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1594, allocations: 41.62 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.1594, allocations: 0 / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1594, allocations: 4 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1594, allocations: 0 / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.1595, allocations: 11.98 kB / 0.7684 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1597, allocations: 153.7 kB / 0.7686 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.1598, allocations: 38.56 kB / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.1598, allocations: 20.84 kB / 0.7686 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.1609, allocations: 1.179 MB / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.161, allocations: 42.5 kB / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.161, allocations: 0 / 0.7698 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.1611, allocations: 49.69 kB / 0.7699 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1612, allocations: 51.41 kB / 0.7699 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.1612, allocations: 105.8 kB / 0.77 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1613, allocations: 25.7 kB / 0.77 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.867e-05/0.1613, allocations: 88.06 kB / 0.7701 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1613, allocations: 15.81 kB / 0.7701 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1614, allocations: 13.72 kB / 0.7701 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1615, allocations: 314.8 kB / 0.7704 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1615, allocations: 8 kB / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.1615, allocations: 11.92 kB / 0.7705 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.782e-05/0.1616, allocations: 16.86 kB / 0.7705 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1616, allocations: 0 / 0.7705 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.343e-05/0.1616, allocations: 49.62 kB / 0.7705 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1617, allocations: 4 kB / 0.7705 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1617, allocations: 0 / 0.7705 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1617, allocations: 0 / 0.7705 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.1617, allocations: 8 kB / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1618, allocations: 0 / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.1618, allocations: 4 kB / 0.7705 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1618, allocations: 0 / 0.7705 GB, free: 3.688 MB / 0.5606 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.743e-05/0.1619, allocations: 114.4 kB / 0.7707 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1619, allocations: 15.83 kB / 0.7707 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.162, allocations: 61.59 kB / 0.7707 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.162, allocations: 0 / 0.7707 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.162, allocations: 0 / 0.7707 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.162, allocations: 0 / 0.7707 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1622, allocations: 161.6 kB / 0.7709 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1622, allocations: 0 / 0.7709 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.1622, allocations: 4 kB / 0.7709 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1622, allocations: 3.984 kB / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.1622, allocations: 0 / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1622, allocations: 0 / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1622, allocations: 0 / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/0.1623, allocations: 89.38 kB / 0.771 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1624, allocations: 85.02 kB / 0.7711 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1624, allocations: 0 / 0.7711 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1625, allocations: 3.984 kB / 0.7711 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.1625, allocations: 4.031 kB / 0.7711 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1625, allocations: 4 kB / 0.7711 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.1625, allocations: 83.59 kB / 0.7711 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 7.938 kB / 0.7712 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002186/0.1628, allocations: 31.92 kB / 0.7712 GB, free: 2.926 MB / 0.5606 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.0004053/0.1632, allocations: 0.6418 MB / 0.7718 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.336e-05/0.1633, allocations: 15.98 kB / 0.7718 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1633, allocations: 4 kB / 0.7718 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.1633, allocations: 12 kB / 0.7718 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.1635, allocations: 2.344 kB / 0.7718 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.164, allocations: 178.7 kB / 0.772 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1642, allocations: 0.6807 MB / 0.7727 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.1643, allocations: 12.22 kB / 0.7727 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1643, allocations: 7.438 kB / 0.7727 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.1643, allocations: 0 / 0.7727 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/0.4821, allocations: 1.627 MB / 0.7743 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.865, allocations: 4.75 kB / 0.7743 GB, free: 14.64 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)