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.005265/0.005265, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001524/0.001524, allocations: 193 kB / 16.67 MB, free: 5.934 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 296.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.5 MB / 0.5074 GB, free: 12.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 99.83 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3535, allocations: 89.11 MB / 0.7813 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001793/0.3553, allocations: 1.261 MB / 0.7826 GB, free: 176 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002454/0.3555, allocations: 130.4 kB / 0.7827 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.3556, allocations: 0 / 0.7827 GB, free: 68 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.3556, allocations: 0 / 0.7827 GB, free: 68 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.3557, allocations: 4.906 kB / 0.7827 GB, free: 64 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3559, allocations: 39.03 kB / 0.7827 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.704e-05/0.3559, allocations: 18.36 kB / 0.7827 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.356, allocations: 2.188 kB / 0.7827 GB, free: 28 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.831e-05/0.356, allocations: 6.406 kB / 0.7827 GB, free: 24 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.356, allocations: 7.906 kB / 0.7828 GB, free: 20 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.3561, allocations: 0 / 0.7828 GB, free: 20 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3562, allocations: 52.8 kB / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.3562, allocations: 0 / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3562, allocations: 10.48 kB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3564, allocations: 44.67 kB / 0.7829 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3564, allocations: 0 / 0.7829 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3564, allocations: 0 / 0.7829 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3564, allocations: 1.719 kB / 0.7829 GB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003792/0.3568, allocations: 331.8 kB / 0.7832 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3568, allocations: 13.78 kB / 0.7832 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3569, allocations: 36.34 kB / 0.7832 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.3569, allocations: 0.9375 kB / 0.7832 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.357, allocations: 161.9 kB / 0.7834 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.357, allocations: 1.906 kB / 0.7834 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.357, allocations: 4.125 kB / 0.7834 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.315e-05/0.3571, allocations: 33.72 kB / 0.7834 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3571, allocations: 7.938 kB / 0.7834 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.3571, allocations: 0 / 0.7834 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3572, allocations: 5.281 kB / 0.7834 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.3572, allocations: 6.438 kB / 0.7834 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.3574, allocations: 148.9 kB / 0.7836 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.3574, allocations: 33.16 kB / 0.7836 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.3575, allocations: 10.14 kB / 0.7836 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.3581, allocations: 0.6079 MB / 0.7842 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.3582, allocations: 35.69 kB / 0.7842 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3582, allocations: 0 / 0.7842 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.3583, allocations: 44.41 kB / 0.7843 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.3584, allocations: 51.41 kB / 0.7843 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.3585, allocations: 101.8 kB / 0.7844 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3585, allocations: 27.02 kB / 0.7845 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.3585, allocations: 84.14 kB / 0.7845 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3586, allocations: 9.453 kB / 0.7846 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3586, allocations: 16.69 kB / 0.7846 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3587, allocations: 310.8 kB / 0.7849 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.3587, allocations: 6.984 kB / 0.7849 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.3587, allocations: 1.062 kB / 0.7849 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.3588, allocations: 18.08 kB / 0.7849 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3588, allocations: 5.344 kB / 0.7849 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.15e-05/0.3589, allocations: 41.64 kB / 0.7849 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3589, allocations: 5.219 kB / 0.7849 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3589, allocations: 1.594 kB / 0.7849 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3589, allocations: 0 / 0.7849 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.3589, allocations: 7.109 kB / 0.7849 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.359, allocations: 0 / 0.7849 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.359, allocations: 4 kB / 0.785 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.359, allocations: 5.5 kB / 0.785 GB, free: 13.59 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 (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 7.237e-05/0.3591, allocations: 111.4 kB / 0.7851 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.3591, allocations: 5.312 kB / 0.7851 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.3592, allocations: 45.25 kB / 0.7851 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3592, allocations: 0 / 0.7851 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3592, allocations: 5.281 kB / 0.7851 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3592, allocations: 3.938 kB / 0.7851 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.3593, allocations: 157 kB / 0.7853 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3593, allocations: 0 / 0.7853 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.3594, allocations: 2.938 kB / 0.7853 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3594, allocations: 5.625 kB / 0.7853 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.3594, allocations: 0 / 0.7853 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3594, allocations: 0 / 0.7853 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3594, allocations: 1.688 kB / 0.7853 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.899e-05/0.3595, allocations: 65.47 kB / 0.7853 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3595, allocations: 86.5 kB / 0.7854 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3595, allocations: 1.344 kB / 0.7854 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.3596, allocations: 0 / 0.7854 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-06/0.3596, allocations: 5.781 kB / 0.7854 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3596, allocations: 0 / 0.7854 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.3596, allocations: 81.86 kB / 0.7855 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.935e-06/0.3596, allocations: 0 / 0.7855 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001925/0.3598, allocations: 20.09 kB / 0.7855 GB, free: 12.96 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 (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.0004143/0.3602, allocations: 0.6196 MB / 0.7861 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.3603, allocations: 7.062 kB / 0.7861 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3603, allocations: 0 / 0.7861 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.3603, allocations: 12.2 kB / 0.7862 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.3605, allocations: 17.59 kB / 0.7862 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.3615, allocations: 1.084 MB / 0.7872 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3617, allocations: 0.6756 MB / 0.7879 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.3618, allocations: 5.375 kB / 0.7879 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.3618, allocations: 8.875 kB / 0.7879 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.3618, allocations: 1.375 kB / 0.7879 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.3833, allocations: 1.438 MB / 0.7893 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.832, allocations: 21.73 kB / 0.7893 GB, free: 9.715 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw_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_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)