Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001317/0.001317, allocations: 183.8 kB / 371.8 MB, free: 10.28 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.06/2.06, allocations: 205.4 MB / 0.6305 GB, free: 10.05 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.0009231/0.000923, allocations: 113.6 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005631/0.0005626, allocations: 11.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2586, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7708/1.029, allocations: 138.1 MB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.03, allocations: 76.23 kB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006507/1.036, allocations: 1.769 MB / 1.116 GB, free: 31.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/1.036, allocations: 0 / 1.116 GB, free: 31.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.949e-06/1.036, allocations: 0 / 1.116 GB, free: 31.99 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.0005259/1.037, allocations: 356.7 kB / 1.116 GB, free: 31.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/1.037, allocations: 19.52 kB / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/1.037, allocations: 34.5 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/1.037, allocations: 0 / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/1.037, allocations: 181.4 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.037, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/1.037, allocations: 3.625 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/1.038, allocations: 36.45 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.038, allocations: 0 / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.038, allocations: 0 / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.038, allocations: 0 / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.48e-05/1.038, allocations: 18.27 kB / 1.117 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/1.038, allocations: 156.1 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.038, allocations: 36.31 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/1.039, allocations: 1.173 MB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.039, allocations: 41.69 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/1.039, allocations: 3.938 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/1.04, allocations: 52.28 kB / 1.118 GB, free: 29.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.04, allocations: 51.41 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/1.04, allocations: 103.5 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/1.04, allocations: 25.7 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/1.04, allocations: 80.14 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/1.04, allocations: 15.19 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/1.04, allocations: 4 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.04, allocations: 317.8 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/1.04, allocations: 0 / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/1.04, allocations: 6.531 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/1.04, allocations: 6.547 kB / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.04, allocations: 0 / 1.119 GB, free: 29.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.178e-05/1.04, allocations: 47.75 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.04, allocations: 7.656 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.04, allocations: 2.672 kB / 1.119 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.04, allocations: 11.88 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/1.04, allocations: 3.844 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.04, allocations: 0 / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/1.04, allocations: 3.25 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/1.04, allocations: 3.906 kB / 1.119 GB, free: 29.07 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.738e-05/1.04, allocations: 105.8 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/1.04, allocations: 10.39 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/1.041, allocations: 57.59 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.041, allocations: 3.844 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.041, allocations: 48 / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.041, allocations: 3.984 kB / 1.119 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/1.041, allocations: 158.7 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.041, allocations: 3.875 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/1.041, allocations: 7.781 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/1.041, allocations: 3.953 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/1.041, allocations: 3.438 kB / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.041, allocations: 0 / 1.119 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.041, allocations: 4 kB / 1.119 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/1.041, allocations: 67.08 kB / 1.119 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/1.041, allocations: 87.7 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.041, allocations: 10.03 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/1.041, allocations: 0 / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/1.041, allocations: 3.938 kB / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/1.041, allocations: 0 / 1.119 GB, free: 28.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.538e-05/1.041, allocations: 93.55 kB / 1.119 GB, free: 28.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.041, allocations: 0 / 1.119 GB, free: 28.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000261/1.041, allocations: 27.19 kB / 1.119 GB, free: 28.45 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.0005419/1.042, allocations: 0.6412 MB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.77e-05/1.042, allocations: 17.77 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/1.042, allocations: 4 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/1.042, allocations: 11.17 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/1.042, allocations: 8.484 kB / 1.12 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/1.043, allocations: 174.8 kB / 1.12 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/1.043, allocations: 0.6812 MB / 1.121 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.833e-05/1.043, allocations: 9.703 kB / 1.121 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/1.044, allocations: 11.31 kB / 1.121 GB, free: 26.96 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.044, allocations: 0 / 1.121 GB, free: 26.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/1.057, allocations: 1.413 MB / 1.122 GB, free: 26.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.057, allocations: 208.7 kB / 1.123 GB, free: 26.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.674, allocations: 0 / 1.123 GB, free: 26.56 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)