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.005283/0.005283, allocations: 99.09 kB / 15.73 MB, free: 6.441 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.0015/0.0015, allocations: 196.4 kB / 16.67 MB, free: 6.352 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 278.2 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 95.84 kB / 0.6943 GB, free: 3.598 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4123, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00256/0.4149, allocations: 1.294 MB / 0.7826 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.4155, allocations: 309 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.4155, allocations: 0 / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.4156, allocations: 5.672 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.4157, allocations: 10.27 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.416, allocations: 74.81 kB / 0.783 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/0.4161, allocations: 33.94 kB / 0.783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.4161, allocations: 8.266 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.4162, allocations: 24.55 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.4163, allocations: 15.62 kB / 0.7831 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.4163, allocations: 0 / 0.7831 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.4165, allocations: 83.66 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.4165, allocations: 6.031 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.4165, allocations: 14.72 kB / 0.7832 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.4167, allocations: 74.02 kB / 0.7832 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4167, allocations: 1.125 kB / 0.7832 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4167, allocations: 3.938 kB / 0.7832 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4167, allocations: 0 / 0.7832 GB, free: 12.61 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.0004194/0.4172, allocations: 357.2 kB / 0.7836 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4172, allocations: 9.844 kB / 0.7836 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.4172, allocations: 36.12 kB / 0.7836 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.4173, allocations: 6.781 kB / 0.7836 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4174, allocations: 172.3 kB / 0.7838 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.4174, allocations: 4.312 kB / 0.7838 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.4175, allocations: 10.47 kB / 0.7838 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.4176, allocations: 37.89 kB / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4176, allocations: 0 / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4176, allocations: 1.5 kB / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4176, allocations: 0 / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.4176, allocations: 8.766 kB / 0.7838 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.4178, allocations: 160.1 kB / 0.784 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.4179, allocations: 36.81 kB / 0.784 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.418, allocations: 21.95 kB / 0.7841 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.4191, allocations: 1.184 MB / 0.7852 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4192, allocations: 32.12 kB / 0.7852 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4192, allocations: 0 / 0.7852 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001571/0.4193, allocations: 48.09 kB / 0.7853 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.4194, allocations: 53.09 kB / 0.7853 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.4195, allocations: 106.8 kB / 0.7854 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.4195, allocations: 27.05 kB / 0.7855 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.4195, allocations: 88.14 kB / 0.7856 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4196, allocations: 15.3 kB / 0.7856 GB, free: 10 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.4196, allocations: 18.39 kB / 0.7856 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4197, allocations: 317 kB / 0.7859 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.4198, allocations: 2.875 kB / 0.7859 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.4198, allocations: 4.719 kB / 0.7859 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.4198, allocations: 16.94 kB / 0.7859 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4198, allocations: 1.562 kB / 0.7859 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.839e-05/0.4199, allocations: 51.52 kB / 0.786 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4199, allocations: 10.08 kB / 0.786 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4199, allocations: 48 / 0.786 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.42, allocations: 3.984 kB / 0.786 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.42, allocations: 10.45 kB / 0.786 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.42, allocations: 1.156 kB / 0.786 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.42, allocations: 0 / 0.786 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.4201, allocations: 1.375 kB / 0.786 GB, free: 9.598 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.325e-05/0.4201, allocations: 109.2 kB / 0.7861 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.4202, allocations: 10.3 kB / 0.7861 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.4203, allocations: 61.86 kB / 0.7862 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4203, allocations: 0 / 0.7862 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4203, allocations: 1.062 kB / 0.7862 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4203, allocations: 0.6094 kB / 0.7862 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.4205, allocations: 160.6 kB / 0.7863 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4205, allocations: 0 / 0.7863 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.4205, allocations: 7.078 kB / 0.7863 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4205, allocations: 3.938 kB / 0.7863 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4205, allocations: 9.375 kB / 0.7863 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4205, allocations: 0.7031 kB / 0.7863 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4205, allocations: 0 / 0.7863 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.4206, allocations: 79.31 kB / 0.7864 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.4207, allocations: 82.16 kB / 0.7865 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4207, allocations: 1.094 kB / 0.7865 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.4208, allocations: 1.859 kB / 0.7865 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.4208, allocations: 6.656 kB / 0.7865 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4208, allocations: 1.312 kB / 0.7865 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.4209, allocations: 91.75 kB / 0.7866 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4209, allocations: 1.25 kB / 0.7866 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002279/0.4211, allocations: 28.81 kB / 0.7866 GB, free: 8.953 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.0004601/0.4216, allocations: 0.6438 MB / 0.7872 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.4216, allocations: 16.86 kB / 0.7873 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4217, allocations: 1.375 kB / 0.7873 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.4217, allocations: 10.45 kB / 0.7873 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.4219, allocations: 13.73 kB / 0.7873 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.4222, allocations: 161.5 kB / 0.7874 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.4225, allocations: 0.6789 MB / 0.7881 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.4226, allocations: 7.422 kB / 0.7881 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4226, allocations: 10.84 kB / 0.7881 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4226, allocations: 0 / 0.7881 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.4438, allocations: 1.647 MB / 0.7897 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.822, allocations: 6.25 kB / 0.7897 GB, free: 7.086 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 & 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)