Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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.00119/0.00119, 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.001251/0.001251, allocations: 193 kB / 16.13 MB, free: 6.664 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 287 kB / 290.2 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8588/0.8588, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001752, allocations: 89.23 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1399, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00238/0.1423, allocations: 1.313 MB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.1427, allocations: 128.3 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1427, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.1427, allocations: 0.875 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.1428, allocations: 3.938 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1429, allocations: 29.95 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.143, allocations: 23.92 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.143, allocations: 0 / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.1431, allocations: 7.938 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.1431, allocations: 8 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1431, allocations: 0 / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1432, allocations: 51.94 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.1433, allocations: 0 / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1433, allocations: 11.92 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.1434, allocations: 44.09 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1434, allocations: 0 / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1434, allocations: 3.938 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1434, allocations: 4 kB / 0.6811 GB, free: 15.45 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003357/0.1438, allocations: 327.6 kB / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1438, allocations: 8.031 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.1438, allocations: 38.75 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.1439, allocations: 4.938 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.144, allocations: 164.3 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.144, allocations: 384 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.144, allocations: 4.375 kB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.1441, allocations: 37.56 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1441, allocations: 0 / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.1441, allocations: 8 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1441, allocations: 0 / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.1441, allocations: 4 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.1443, allocations: 149.7 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.1443, allocations: 26.61 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.1444, allocations: 8.797 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.145, allocations: 0.6169 MB / 0.6825 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.145, allocations: 30.56 kB / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.145, allocations: 0 / 0.6825 GB, free: 13.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.1452, allocations: 41.7 kB / 0.6826 GB, free: 13.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.1452, allocations: 55.39 kB / 0.6826 GB, free: 13.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.598e-05/0.1453, allocations: 97.86 kB / 0.6827 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1453, allocations: 25.7 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.1453, allocations: 84.27 kB / 0.6828 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1453, allocations: 11.84 kB / 0.6828 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.1454, allocations: 13.72 kB / 0.6828 GB, free: 13.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.1454, allocations: 314.8 kB / 0.6831 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.1455, allocations: 7.938 kB / 0.6831 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.1455, allocations: 0 / 0.6831 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.1455, allocations: 16.86 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1455, allocations: 0 / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.228e-05/0.1456, allocations: 41.7 kB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1456, allocations: 7.984 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1456, allocations: 3.938 kB / 0.6832 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.1456, allocations: 4 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/0.1457, allocations: 0 / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1457, allocations: 0 / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.1457, allocations: 4 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1457, allocations: 0 / 0.6832 GB, free: 12.96 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 (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 5.173e-05/0.1458, allocations: 119 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.1458, allocations: 7.969 kB / 0.6833 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.1459, allocations: 48.81 kB / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1459, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1459, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1459, allocations: 0 / 0.6834 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.146, allocations: 149.7 kB / 0.6835 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.146, allocations: 3.938 kB / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.146, allocations: 8 kB / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.146, allocations: 0 / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.146, allocations: 32 / 0.6835 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.146, allocations: 4 kB / 0.6835 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.146, allocations: 0 / 0.6835 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.168e-05/0.1461, allocations: 76.97 kB / 0.6836 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.1461, allocations: 81.05 kB / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.1461, allocations: 0 / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.1462, allocations: 0 / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.1462, allocations: 0 / 0.6837 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1462, allocations: 12.02 kB / 0.6837 GB, free: 12.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.1462, allocations: 75.28 kB / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1462, allocations: 0 / 0.6838 GB, free: 12.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.1464, allocations: 12 kB / 0.6838 GB, free: 12.27 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 (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.0003141/0.1467, allocations: 0.6241 MB / 0.6844 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.1468, allocations: 11.98 kB / 0.6844 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1468, allocations: 0 / 0.6844 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.1468, allocations: 4 kB / 0.6844 GB, free: 11.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.147, allocations: 9.719 kB / 0.6844 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.1478, allocations: 1.096 MB / 0.6855 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.148, allocations: 0.677 MB / 0.6861 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.148, allocations: 8.047 kB / 0.6862 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.148, allocations: 19.38 kB / 0.6862 GB, free: 9.688 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.148, allocations: 0 / 0.6862 GB, free: 9.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.004/1.152, allocations: 1.304 MB / 0.6874 GB, free: 8.527 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.152, allocations: 224 kB / 0.6877 GB, free: 8.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.842, allocations: 5.406 kB / 0.6877 GB, free: 8.27 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)