Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.533/2.533, allocations: 287.3 MB / 302.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.0015, allocations: 181.5 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 102.3 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000683/0.0006832, allocations: 15.16 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2328, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9467/1.18, allocations: 137.9 MB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.18, allocations: 78.33 kB / 1.113 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008462/1.188, allocations: 1.771 MB / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.188, allocations: 0 / 1.115 GB, free: 31.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.188, allocations: 0 / 1.115 GB, free: 31.39 MB / 0.698 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.0004985/1.189, allocations: 356.9 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.189, allocations: 11.73 kB / 1.115 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/1.189, allocations: 38.5 kB / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/1.189, allocations: 7.688 kB / 1.115 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.189, allocations: 168.9 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.189, allocations: 3.906 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/1.189, allocations: 3.938 kB / 1.115 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.189, allocations: 32.33 kB / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/1.189, allocations: 0 / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.189, allocations: 12.86 kB / 1.115 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.189, allocations: 0 / 1.115 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/1.19, allocations: 6.438 kB / 1.115 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/1.19, allocations: 164.4 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.19, allocations: 36.41 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.191, allocations: 1.172 MB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.191, allocations: 38.53 kB / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.277e-06/1.191, allocations: 0 / 1.117 GB, free: 29.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002412/1.192, allocations: 48.2 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.192, allocations: 62.39 kB / 1.117 GB, free: 29.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/1.192, allocations: 96.42 kB / 1.117 GB, free: 28.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/1.192, allocations: 29.52 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/1.192, allocations: 80.14 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/1.192, allocations: 15.62 kB / 1.117 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.192, allocations: 4 kB / 1.117 GB, free: 28.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.192, allocations: 314.7 kB / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/1.192, allocations: 2.438 kB / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/1.192, allocations: 3.812 kB / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.192, allocations: 10.39 kB / 1.117 GB, free: 28.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.192, allocations: 3.953 kB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001085/1.192, allocations: 43.83 kB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.192, allocations: 3.938 kB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/1.192, allocations: 0.875 kB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.192, allocations: 10.95 kB / 1.117 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/1.192, allocations: 7.812 kB / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.192, allocations: 0 / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/1.192, allocations: 0 / 1.117 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/1.193, allocations: 0 / 1.117 GB, free: 28.46 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/1.193, allocations: 109.7 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/1.193, allocations: 7.766 kB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/1.193, allocations: 63.22 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.193, allocations: 0 / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.193, allocations: 4.438 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.193, allocations: 0 / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/1.193, allocations: 162.4 kB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.193, allocations: 4 kB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/1.193, allocations: 15.58 kB / 1.118 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.193, allocations: 2.719 kB / 1.118 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.193, allocations: 0 / 1.118 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.193, allocations: 3.938 kB / 1.118 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.193, allocations: 4 kB / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/1.193, allocations: 75.39 kB / 1.118 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/1.193, allocations: 80.06 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/1.193, allocations: 7.797 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/1.194, allocations: 3.938 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/1.194, allocations: 2.672 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.194, allocations: 3.875 kB / 1.118 GB, free: 27.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.849e-05/1.194, allocations: 85.97 kB / 1.118 GB, free: 27.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/1.194, allocations: 4 kB / 1.118 GB, free: 27.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003157/1.194, allocations: 27.31 kB / 1.118 GB, free: 27.84 MB / 0.698 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 (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.0005766/1.195, allocations: 0.6385 MB / 1.119 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.195, allocations: 18.53 kB / 1.119 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.195, allocations: 4 kB / 1.119 GB, free: 27.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/1.195, allocations: 11.62 kB / 1.119 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/1.195, allocations: 9.609 kB / 1.119 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/1.195, allocations: 178.4 kB / 1.119 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/1.196, allocations: 0.682 MB / 1.12 GB, free: 26.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.777e-05/1.196, allocations: 7.812 kB / 1.12 GB, free: 26.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/1.196, allocations: 7.438 kB / 1.12 GB, free: 26.35 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.196, allocations: 3.812 kB / 1.12 GB, free: 26.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/1.219, allocations: 1.399 MB / 1.121 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.219, allocations: 195.1 kB / 1.121 GB, free: 25.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.527, allocations: 3.938 kB / 1.121 GB, free: 25.96 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)