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.001297/0.001296, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 278.9 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 105.5 kB / 0.6066 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1479, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002454/0.1504, allocations: 1.281 MB / 0.6949 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005855/0.151, allocations: 306.6 kB / 0.6952 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1511, allocations: 0.6562 kB / 0.6952 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.1511, allocations: 6.406 kB / 0.6952 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.347e-05/0.1512, allocations: 11.92 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1515, allocations: 77.47 kB / 0.6952 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.1515, allocations: 31.91 kB / 0.6953 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.1516, allocations: 11.92 kB / 0.6953 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.1517, allocations: 22.3 kB / 0.6953 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.1517, allocations: 11.94 kB / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1517, allocations: 0 / 0.6953 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1519, allocations: 83.91 kB / 0.6954 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1519, allocations: 11.94 kB / 0.6954 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.152, allocations: 15.92 kB / 0.6954 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1521, allocations: 72.06 kB / 0.6955 GB, free: 2.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1521, allocations: 4 kB / 0.6955 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1522, allocations: 0 / 0.6955 GB, free: 2.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1522, allocations: 0 / 0.6955 GB, free: 2.277 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.0004246/0.1526, allocations: 351.4 kB / 0.6958 GB, free: 1.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1526, allocations: 8.031 kB / 0.6958 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.1527, allocations: 34.75 kB / 0.6959 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.1527, allocations: 8.844 kB / 0.6959 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1529, allocations: 164.4 kB / 0.696 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1529, allocations: 4.359 kB / 0.696 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.1529, allocations: 4.375 kB / 0.696 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.153, allocations: 45.56 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.153, allocations: 0 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.1531, allocations: 0 / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1531, allocations: 4 kB / 0.6961 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.1531, allocations: 7.984 kB / 0.6961 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1533, allocations: 169.5 kB / 0.6963 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.1534, allocations: 34.67 kB / 0.6963 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.1535, allocations: 12.86 kB / 0.6963 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.1548, allocations: 1.187 MB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1548, allocations: 42.38 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1548, allocations: 0 / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001506/0.155, allocations: 49.69 kB / 0.6976 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.155, allocations: 51.41 kB / 0.6976 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.1551, allocations: 113.8 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1552, allocations: 25.7 kB / 0.6977 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1552, allocations: 88.14 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.1552, allocations: 3.906 kB / 0.6978 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1553, allocations: 21.61 kB / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1554, allocations: 318.8 kB / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.1555, allocations: 0 / 0.6982 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.1555, allocations: 4 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.1555, allocations: 20.8 kB / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1555, allocations: 0 / 0.6982 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.762e-05/0.1556, allocations: 53.62 kB / 0.6982 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1556, allocations: 4 kB / 0.6982 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1556, allocations: 0 / 0.6982 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1557, allocations: 4 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.1557, allocations: 7.984 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1557, allocations: 4 kB / 0.6982 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.1558, allocations: 0 / 0.6982 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.1558, allocations: 0 / 0.6982 GB, free: 14.97 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 (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 8.424e-05/0.1558, allocations: 113.8 kB / 0.6984 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.1559, allocations: 11.94 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.156, allocations: 53.59 kB / 0.6984 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.156, allocations: 384 / 0.6984 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.156, allocations: 3.984 kB / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.156, allocations: 0 / 0.6984 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1562, allocations: 161.6 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1562, allocations: 3.938 kB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.1563, allocations: 7.984 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1563, allocations: 4 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1563, allocations: 4 kB / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1563, allocations: 0 / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1563, allocations: 0 / 0.6986 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.866e-05/0.1564, allocations: 77 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.1565, allocations: 89.03 kB / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.1565, allocations: 0 / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.1566, allocations: 0 / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.1566, allocations: 8 kB / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1566, allocations: 4 kB / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.1566, allocations: 87.27 kB / 0.6988 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1567, allocations: 3.938 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002145/0.1569, allocations: 27.94 kB / 0.6989 GB, free: 14.22 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 (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.0004828/0.1574, allocations: 0.6435 MB / 0.6995 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.1575, allocations: 15.98 kB / 0.6995 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1575, allocations: 0 / 0.6995 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.1575, allocations: 8 kB / 0.6995 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.1577, allocations: 11.98 kB / 0.6995 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.1581, allocations: 159.7 kB / 0.6997 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1584, allocations: 0.6807 MB / 0.7004 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.457e-05/0.1585, allocations: 7.984 kB / 0.7004 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.1585, allocations: 11.44 kB / 0.7004 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1585, allocations: 0 / 0.7004 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1827, allocations: 1.629 MB / 0.702 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.109, allocations: 13.67 kB / 0.702 GB, free: 11.08 MB / 0.4981 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)