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.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001708/0.001708, allocations: 193.6 kB / 16.14 MB, free: 6.66 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 286.8 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8414/0.8414, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 92.67 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1379, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001958/0.1399, allocations: 1.353 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.1403, allocations: 320.9 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.1403, allocations: 4 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.1404, allocations: 0 / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.1404, allocations: 9.234 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.1406, allocations: 57.3 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.072e-05/0.1407, allocations: 27.92 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.39e-05/0.1407, allocations: 5.344 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.058e-05/0.1408, allocations: 36.56 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.125e-05/0.1408, allocations: 11.92 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1408, allocations: 4 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1409, allocations: 79.84 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.141, allocations: 11.94 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.141, allocations: 7.938 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1411, allocations: 84.06 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1411, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1411, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.424e-06/0.1411, allocations: 4 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB 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.0002637/0.1414, allocations: 353.3 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.1414, allocations: 8.031 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/0.1415, allocations: 30.75 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.1415, allocations: 12.84 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.1416, allocations: 164.3 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.1416, allocations: 4.375 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.1416, allocations: 384 / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.795e-05/0.1417, allocations: 41.62 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-06/0.1417, allocations: 4 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-06/0.1417, allocations: 0 / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1417, allocations: 4 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.1417, allocations: 11.92 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.1418, allocations: 161.7 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.1419, allocations: 30.58 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1419, allocations: 8.922 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.1429, allocations: 1.191 MB / 0.6835 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1429, allocations: 38.48 kB / 0.6835 GB, free: 12.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.1429, allocations: 0 / 0.6835 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001113/0.143, allocations: 61.48 kB / 0.6836 GB, free: 12.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.1431, allocations: 55.39 kB / 0.6836 GB, free: 12.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.1431, allocations: 109.8 kB / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1431, allocations: 29.7 kB / 0.6837 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/0.1432, allocations: 80.14 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.1432, allocations: 3.906 kB / 0.6838 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.1432, allocations: 17.72 kB / 0.6838 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.1433, allocations: 314.8 kB / 0.6841 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.1433, allocations: 7.984 kB / 0.6841 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.1433, allocations: 4 kB / 0.6841 GB, free: 11.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.1434, allocations: 21.08 kB / 0.6842 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1434, allocations: 0 / 0.6842 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.479e-05/0.1434, allocations: 57.52 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.148e-06/0.1434, allocations: 4 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.1435, allocations: 0 / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1435, allocations: 4 kB / 0.6842 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.1435, allocations: 4 kB / 0.6842 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.1435, allocations: 0 / 0.6842 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.1435, allocations: 4 kB / 0.6842 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1435, allocations: 0 / 0.6842 GB, free: 11.79 MB / 494.1 MB 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 5.328e-05/0.1436, allocations: 119.1 kB / 0.6844 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.1436, allocations: 3.938 kB / 0.6844 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1437, allocations: 61.83 kB / 0.6844 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1437, allocations: 0 / 0.6844 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1437, allocations: 4 kB / 0.6844 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1437, allocations: 0 / 0.6844 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.1438, allocations: 157.7 kB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1438, allocations: 3.938 kB / 0.6846 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.1439, allocations: 7.984 kB / 0.6846 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1439, allocations: 0 / 0.6846 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1439, allocations: 8 kB / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1439, allocations: 0 / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1439, allocations: 0 / 0.6846 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.65e-05/0.144, allocations: 80.97 kB / 0.6847 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.144, allocations: 85.05 kB / 0.6847 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1441, allocations: 7.922 kB / 0.6848 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.1441, allocations: 0 / 0.6848 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.1441, allocations: 8 kB / 0.6848 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1441, allocations: 0 / 0.6848 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.405e-05/0.1442, allocations: 87.27 kB / 0.6848 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1442, allocations: 3.938 kB / 0.6848 GB, free: 11.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001908/0.1444, allocations: 31.94 kB / 0.6849 GB, free: 11.02 MB / 494.1 MB 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.0003344/0.1447, allocations: 0.6358 MB / 0.6855 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.413e-05/0.1448, allocations: 19.92 kB / 0.6855 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1448, allocations: 0 / 0.6855 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.1448, allocations: 8 kB / 0.6855 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.145, allocations: 8.75 kB / 0.6855 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1452, allocations: 169.4 kB / 0.6857 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1454, allocations: 0.6809 MB / 0.6864 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.1455, allocations: 12.31 kB / 0.6864 GB, free: 9.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.1455, allocations: 11.38 kB / 0.6864 GB, free: 9.391 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1455, allocations: 0 / 0.6864 GB, free: 9.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6756/0.8211, allocations: 1.502 MB / 0.6878 GB, free: 8.039 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.8213, allocations: 236.1 kB / 0.6881 GB, free: 7.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.422, allocations: 0 / 0.6881 GB, free: 7.777 MB / 494.1 MB (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)