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.0008098/0.0008098, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009506/0.0009506, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7282/0.7282, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 14.27 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3471, allocations: 81.57 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001047/0.3482, allocations: 1.006 MB / 0.5841 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000463/0.3486, allocations: 287.8 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.3487, allocations: 1.344 kB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.3487, allocations: 3.938 kB / 0.5844 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.3488, allocations: 13.02 kB / 0.5844 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.349, allocations: 54.97 kB / 0.5845 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.349, allocations: 29.56 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.3491, allocations: 1.781 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.3492, allocations: 33.05 kB / 0.5845 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.3492, allocations: 10.36 kB / 0.5846 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3492, allocations: 1.438 kB / 0.5846 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3494, allocations: 81.94 kB / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3494, allocations: 2.797 kB / 0.5846 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.3494, allocations: 32.39 kB / 0.5847 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3496, allocations: 50.19 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3496, allocations: 0.6875 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3496, allocations: 4 kB / 0.5847 GB, free: 2.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3496, allocations: 0.9688 kB / 0.5847 GB, free: 2.91 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.0002443/0.3498, allocations: 347.8 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3499, allocations: 10.25 kB / 0.5851 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.3499, allocations: 32.19 kB / 0.5851 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.3499, allocations: 13.48 kB / 0.5851 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.946e-05/0.35, allocations: 166.6 kB / 0.5853 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.35, allocations: 0.625 kB / 0.5853 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.35, allocations: 5.406 kB / 0.5853 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.163e-05/0.3501, allocations: 34.5 kB / 0.5853 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3501, allocations: 1.031 kB / 0.5853 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.3502, allocations: 4 kB / 0.5853 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3502, allocations: 2.094 kB / 0.5853 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.3502, allocations: 11.84 kB / 0.5853 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.3503, allocations: 159.7 kB / 0.5855 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.3504, allocations: 32.8 kB / 0.5855 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.3504, allocations: 17.31 kB / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007337/0.3512, allocations: 1.184 MB / 0.5867 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3512, allocations: 36.28 kB / 0.5867 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3512, allocations: 1.219 kB / 0.5867 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001298/0.3513, allocations: 55.17 kB / 0.5868 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.3514, allocations: 52.66 kB / 0.5868 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.3514, allocations: 105.5 kB / 0.5869 GB, free: 448 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3514, allocations: 27.12 kB / 0.5869 GB, free: 416 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.27e-05/0.3514, allocations: 80.8 kB / 0.587 GB, free: 332 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3515, allocations: 10.12 kB / 0.587 GB, free: 324 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3515, allocations: 5.094 kB / 0.587 GB, free: 320 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.53e-05/0.3515, allocations: 313.1 kB / 0.5873 GB, free: 0 / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.3515, allocations: 2.781 kB / 0.5873 GB, free: 0 / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.3515, allocations: 4.672 kB / 0.5873 GB, free: 0 / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.3516, allocations: 12.84 kB / 0.5874 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3516, allocations: 3.938 kB / 0.5874 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.814e-05/0.3517, allocations: 48.3 kB / 0.5874 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3517, allocations: 5.391 kB / 0.5874 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3517, allocations: 5 kB / 0.5874 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.3517, allocations: 0 / 0.5874 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.601e-05/0.3518, allocations: 9.172 kB / 0.5874 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3518, allocations: 1.672 kB / 0.5874 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.3518, allocations: 1.156 kB / 0.5874 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3518, allocations: 4.781 kB / 0.5874 GB, free: 15.93 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.3519, allocations: 112.5 kB / 0.5875 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.3519, allocations: 6.922 kB / 0.5875 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.352, allocations: 69.19 kB / 0.5876 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3521, allocations: 2.766 kB / 0.5876 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3521, allocations: 0 / 0.5876 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3521, allocations: 0 / 0.5876 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.3522, allocations: 164.1 kB / 0.5878 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3522, allocations: 3.953 kB / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.3522, allocations: 6.672 kB / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3522, allocations: 0 / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3522, allocations: 2.688 kB / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3523, allocations: 3.984 kB / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3523, allocations: 0 / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.3523, allocations: 74.42 kB / 0.5879 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.3524, allocations: 95.36 kB / 0.5879 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3524, allocations: 0 / 0.5879 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.3525, allocations: 2.062 kB / 0.588 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.3525, allocations: 2.75 kB / 0.588 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3525, allocations: 1.578 kB / 0.588 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.3526, allocations: 87.48 kB / 0.588 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3526, allocations: 4 kB / 0.588 GB, free: 15.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.3528, allocations: 25.31 kB / 0.5881 GB, free: 15.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000406/0.3532, allocations: 0.6269 MB / 0.5887 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.3533, allocations: 19.81 kB / 0.5887 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3533, allocations: 1.531 kB / 0.5887 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.3533, allocations: 10.83 kB / 0.5887 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.3535, allocations: 3.906 kB / 0.5887 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.3539, allocations: 183.3 kB / 0.5889 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3541, allocations: 0.6827 MB / 0.5896 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.3542, allocations: 9.016 kB / 0.5896 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3542, allocations: 9.75 kB / 0.5896 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3542, allocations: 0 / 0.5896 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.3649, allocations: 1.412 MB / 0.591 GB, free: 13.65 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.3652, allocations: 183 kB / 0.5911 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/1.927, allocations: 4 kB / 0.5911 GB, free: 13.41 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) Environment - environmentSimulation: