Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_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.001445/0.001445, 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.001656/0.001656, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7154/0.7154, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.16 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3317, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002244/0.334, allocations: 1.289 MB / 0.5815 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004943/0.3345, allocations: 308.3 kB / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.3345, allocations: 0 / 0.5817 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.3346, allocations: 4.641 kB / 0.5818 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.3347, allocations: 14.78 kB / 0.5818 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.335, allocations: 86.27 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.335, allocations: 30.08 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.3351, allocations: 4.266 kB / 0.5819 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.3352, allocations: 25 kB / 0.5819 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.3352, allocations: 9.844 kB / 0.5819 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3353, allocations: 5.031 kB / 0.5819 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3354, allocations: 84.42 kB / 0.582 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3355, allocations: 5.781 kB / 0.582 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.3355, allocations: 13 kB / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3357, allocations: 72.58 kB / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3357, allocations: 0.9375 kB / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3357, allocations: 0 / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3357, allocations: 0 / 0.5821 GB, free: 3.312 MB / 430.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.0003043/0.336, allocations: 353.2 kB / 0.5824 GB, free: 2.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.336, allocations: 13.78 kB / 0.5824 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.161e-05/0.3361, allocations: 39.3 kB / 0.5825 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.3361, allocations: 3 kB / 0.5825 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.3362, allocations: 180.3 kB / 0.5826 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3362, allocations: 1.25 kB / 0.5827 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3362, allocations: 2.547 kB / 0.5827 GB, free: 2.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.3363, allocations: 37.94 kB / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.3363, allocations: 0 / 0.5827 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3363, allocations: 4.906 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3363, allocations: 0.9375 kB / 0.5827 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.3364, allocations: 13.45 kB / 0.5827 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.3365, allocations: 154.8 kB / 0.5829 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.3366, allocations: 44.56 kB / 0.5829 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.3366, allocations: 13.84 kB / 0.5829 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/0.3374, allocations: 1.189 MB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.3374, allocations: 32.66 kB / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3374, allocations: 0 / 0.5841 GB, free: 1.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001306/0.3376, allocations: 48.22 kB / 0.5841 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.3376, allocations: 52.56 kB / 0.5842 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.3376, allocations: 110.4 kB / 0.5843 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.3376, allocations: 30.48 kB / 0.5843 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.3377, allocations: 81.05 kB / 0.5844 GB, free: 0.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3377, allocations: 13.73 kB / 0.5844 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.3377, allocations: 15.61 kB / 0.5844 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.3378, allocations: 312.9 kB / 0.5847 GB, free: 376 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3378, allocations: 7.453 kB / 0.5847 GB, free: 372 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.3378, allocations: 3.891 kB / 0.5847 GB, free: 372 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.3378, allocations: 17.45 kB / 0.5848 GB, free: 360 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3378, allocations: 4 kB / 0.5848 GB, free: 356 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.197e-05/0.3379, allocations: 48.89 kB / 0.5848 GB, free: 316 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3379, allocations: 5 kB / 0.5848 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3379, allocations: 0.9688 kB / 0.5848 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.338, allocations: 0.7031 kB / 0.5848 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.338, allocations: 9.922 kB / 0.5848 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.338, allocations: 0 / 0.5848 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.338, allocations: 4.719 kB / 0.5848 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.338, allocations: 2.016 kB / 0.5848 GB, free: 308 kB / 430.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 4.514e-05/0.3381, allocations: 113.1 kB / 0.5849 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.3381, allocations: 9.281 kB / 0.585 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.3382, allocations: 62.58 kB / 0.585 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3382, allocations: 0 / 0.585 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3382, allocations: 1.938 kB / 0.585 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3383, allocations: 0 / 0.585 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3384, allocations: 160.8 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3384, allocations: 7.938 kB / 0.5852 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.3384, allocations: 9 kB / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3384, allocations: 1.984 kB / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3384, allocations: 0.7812 kB / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3384, allocations: 0 / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3384, allocations: 0.5938 kB / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.453e-05/0.3385, allocations: 71.25 kB / 0.5853 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.3386, allocations: 91.27 kB / 0.5853 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3386, allocations: 4.703 kB / 0.5853 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.3387, allocations: 4.922 kB / 0.5854 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.3387, allocations: 7.438 kB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3387, allocations: 0.9688 kB / 0.5854 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.3388, allocations: 88.11 kB / 0.5854 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3388, allocations: 0 / 0.5854 GB, free: 15.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.339, allocations: 29.55 kB / 0.5855 GB, free: 15.65 MB / 446.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.0004022/0.3394, allocations: 0.6389 MB / 0.5861 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.204e-05/0.3395, allocations: 17.03 kB / 0.5861 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3395, allocations: 0.9062 kB / 0.5861 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.3395, allocations: 11.36 kB / 0.5861 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.3397, allocations: 5.969 kB / 0.5861 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3401, allocations: 173.5 kB / 0.5863 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.3403, allocations: 0.6827 MB / 0.587 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.276e-05/0.3403, allocations: 4.531 kB / 0.587 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.3403, allocations: 14.27 kB / 0.587 GB, free: 14.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3404, allocations: 0 / 0.587 GB, free: 14.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3571, allocations: 1.589 MB / 0.5885 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.264, allocations: 4.703 kB / 0.5885 GB, free: 13.8 MB / 446.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)