Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001753/0.001754, allocations: 180.2 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.6366 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009322/0.0009325, allocations: 100.7 kB / 0.7509 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3079, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8398/1.148, allocations: 139.1 MB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/1.148, allocations: 79.28 kB / 1.124 GB, free: 35.38 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004754/1.153, allocations: 1.774 MB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/1.153, allocations: 0 / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.153, allocations: 4 kB / 1.126 GB, free: 34.04 MB / 0.7292 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.0003334/1.153, allocations: 352.3 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.153, allocations: 12.02 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/1.153, allocations: 38.03 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/1.153, allocations: 2.062 kB / 1.126 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.153, allocations: 175 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.154, allocations: 0.625 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/1.154, allocations: 3.438 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/1.154, allocations: 45.02 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.154, allocations: 0.8438 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/1.154, allocations: 0 / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.154, allocations: 0 / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/1.154, allocations: 11.28 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/1.154, allocations: 158.4 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.368e-05/1.154, allocations: 39.64 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/1.155, allocations: 1.17 MB / 1.128 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.155, allocations: 34.56 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/1.155, allocations: 0 / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001921/1.155, allocations: 52.89 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.155, allocations: 55.41 kB / 1.128 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/1.155, allocations: 101 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/1.155, allocations: 29.7 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/1.155, allocations: 84.14 kB / 1.128 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/1.155, allocations: 11.75 kB / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.155, allocations: 0 / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/1.155, allocations: 314.3 kB / 1.129 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/1.155, allocations: 11.94 kB / 1.129 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/1.155, allocations: 8 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.001e-05/1.155, allocations: 4 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.155, allocations: 0 / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.384e-05/1.156, allocations: 49.12 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.156, allocations: 5.25 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.156, allocations: 0.5469 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.156, allocations: 0 / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/1.156, allocations: 9.406 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.156, allocations: 3.516 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/1.156, allocations: 6.688 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/1.156, allocations: 1.312 kB / 1.129 GB, free: 30.89 MB / 0.7292 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 7.312e-05/1.156, allocations: 110.4 kB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/1.156, allocations: 7.953 kB / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/1.156, allocations: 61.81 kB / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.156, allocations: 0 / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.156, allocations: 4 kB / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.156, allocations: 0 / 1.129 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.191e-05/1.156, allocations: 162 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.156, allocations: 0 / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/1.156, allocations: 4 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.156, allocations: 3.953 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.156, allocations: 0.625 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.156, allocations: 3.094 kB / 1.129 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.156, allocations: 4 kB / 1.129 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.733e-05/1.156, allocations: 77.67 kB / 1.129 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/1.156, allocations: 84.67 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.156, allocations: 5.203 kB / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/1.156, allocations: 0 / 1.129 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/1.156, allocations: 7.938 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/1.156, allocations: 4 kB / 1.129 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.156, allocations: 83.53 kB / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/1.156, allocations: 0 / 1.129 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002421/1.157, allocations: 31.94 kB / 1.129 GB, free: 30.18 MB / 0.7292 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.0003752/1.157, allocations: 0.6481 MB / 1.13 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.854e-05/1.157, allocations: 16 kB / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.157, allocations: 0 / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/1.157, allocations: 7.469 kB / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.157, allocations: 12.61 kB / 1.13 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/1.158, allocations: 183.5 kB / 1.13 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/1.158, allocations: 0.6805 MB / 1.131 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.712e-05/1.158, allocations: 12.39 kB / 1.131 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/1.158, allocations: 11.44 kB / 1.131 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/1.158, allocations: 0.9375 kB / 1.131 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/1.169, allocations: 1.391 MB / 1.132 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/1.17, allocations: 188.5 kB / 1.132 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.805, allocations: 0 / 1.132 GB, free: 27.59 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)