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.00536/0.00536, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.001557/0.001557, allocations: 202 kB / 16.68 MB, free: 5.965 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002702/0.002702, allocations: 282.8 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9823/0.9823, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 91.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1681, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002144/0.1703, allocations: 1.294 MB / 0.7672 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.1708, allocations: 294.9 kB / 0.7675 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.1709, allocations: 8 kB / 0.7675 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1709, allocations: 0 / 0.7675 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.171, allocations: 15.86 kB / 0.7675 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1712, allocations: 67.78 kB / 0.7675 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.1713, allocations: 35.84 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.1714, allocations: 4 kB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.1715, allocations: 35.84 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.1715, allocations: 7.938 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1715, allocations: 7.938 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.1717, allocations: 83.91 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.1717, allocations: 7.984 kB / 0.7677 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.1717, allocations: 11.88 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1719, allocations: 84 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1719, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1719, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1719, 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.0003921/0.1723, allocations: 355.2 kB / 0.7681 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1724, allocations: 8.031 kB / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1724, allocations: 30.75 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.1724, allocations: 4.938 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1726, allocations: 168.3 kB / 0.7683 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1726, allocations: 8.375 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1726, allocations: 8.125 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.1727, allocations: 37.69 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1727, allocations: 3.938 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1727, allocations: 4 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1727, allocations: 0 / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.1728, allocations: 8 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.173, allocations: 161.6 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.008e-05/0.1731, allocations: 38.61 kB / 0.7686 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.1731, allocations: 12.86 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.1742, allocations: 1.179 MB / 0.7698 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1742, allocations: 34.56 kB / 0.7698 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1743, allocations: 7.938 kB / 0.7698 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001423/0.1744, allocations: 45.69 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1744, allocations: 55.41 kB / 0.7699 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.1745, allocations: 113.8 kB / 0.77 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1746, allocations: 25.7 kB / 0.77 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.1746, allocations: 84.08 kB / 0.7701 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1746, allocations: 7.906 kB / 0.7701 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1747, allocations: 25.7 kB / 0.7702 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1748, allocations: 314.8 kB / 0.7705 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.1748, allocations: 0 / 0.7705 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.1748, allocations: 4 kB / 0.7705 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.1749, allocations: 24.78 kB / 0.7705 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1749, allocations: 0 / 0.7705 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.002e-05/0.1749, allocations: 45.92 kB / 0.7705 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.175, allocations: 4 kB / 0.7705 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.175, allocations: 8 kB / 0.7705 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.175, allocations: 7.969 kB / 0.7705 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.1751, allocations: 7.984 kB / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1751, allocations: 0 / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.1751, allocations: 0 / 0.7705 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1751, allocations: 0 / 0.7705 GB, free: 3.691 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 7.084e-05/0.1752, allocations: 114.5 kB / 0.7707 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1752, allocations: 7.891 kB / 0.7707 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.1753, allocations: 69.52 kB / 0.7707 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1753, allocations: 0 / 0.7707 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1753, allocations: 0 / 0.7707 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1753, allocations: 0 / 0.7707 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1755, allocations: 161.6 kB / 0.7709 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1755, allocations: 0 / 0.7709 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.1755, allocations: 4 kB / 0.7709 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1755, allocations: 0 / 0.7709 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1755, allocations: 4 kB / 0.7709 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1755, allocations: 0 / 0.7709 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1755, allocations: 4 kB / 0.7709 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.514e-05/0.1756, allocations: 76.95 kB / 0.771 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.1757, allocations: 85.09 kB / 0.7711 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1757, allocations: 8 kB / 0.7711 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.1758, allocations: 4 kB / 0.7711 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.1758, allocations: 0 / 0.7711 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1758, allocations: 3.984 kB / 0.7711 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.1759, allocations: 95.22 kB / 0.7712 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1759, allocations: 0 / 0.7712 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002718/0.1761, allocations: 27.88 kB / 0.7712 GB, free: 2.934 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.000438/0.1766, allocations: 0.6473 MB / 0.7718 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.47e-05/0.1767, allocations: 8 kB / 0.7718 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1767, allocations: 8 kB / 0.7718 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.1767, allocations: 7.984 kB / 0.7718 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.1769, allocations: 8 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.0003974/0.1773, allocations: 163.5 kB / 0.772 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1776, allocations: 0.6807 MB / 0.7727 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.1777, allocations: 12.53 kB / 0.7727 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1777, allocations: 11.44 kB / 0.7727 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1777, allocations: 0 / 0.7727 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9687/1.146, allocations: 1.632 MB / 0.7743 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.43, allocations: 5.531 kB / 0.7743 GB, free: 14.65 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)