Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.789/1.789, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001262/0.001262, allocations: 175.9 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 2.061/2.061, allocations: 205.4 MB / 0.6366 GB, free: 8.527 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.00121/0.00121, allocations: 99.92 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3305, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8459/1.176, allocations: 138.7 MB / 1.124 GB, free: 35.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.177, allocations: 72.91 kB / 1.124 GB, free: 35.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002097/1.179, allocations: 0.834 MB / 1.125 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.264e-06/1.179, allocations: 0 / 1.125 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.179, allocations: 3.031 kB / 1.125 GB, free: 34.99 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002815/1.179, allocations: 331.7 kB / 1.125 GB, free: 34.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.179, allocations: 16.02 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/1.179, allocations: 34.59 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/1.179, allocations: 2.844 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/1.179, allocations: 171 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.179, allocations: 1.594 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/1.18, allocations: 3.438 kB / 1.125 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/1.18, allocations: 37.03 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.18, allocations: 0 / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.18, allocations: 0 / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.18, allocations: 0 / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.112e-05/1.18, allocations: 7.938 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/1.18, allocations: 153.1 kB / 1.125 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/1.18, allocations: 28.17 kB / 1.125 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/1.18, allocations: 0.6013 MB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/1.18, allocations: 31.5 kB / 1.126 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.18, allocations: 0 / 1.126 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/1.181, allocations: 47.56 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/1.181, allocations: 55.41 kB / 1.126 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/1.181, allocations: 85.89 kB / 1.126 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/1.181, allocations: 33.83 kB / 1.126 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/1.181, allocations: 84.14 kB / 1.126 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/1.181, allocations: 11.31 kB / 1.126 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/1.181, allocations: 0 / 1.126 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/1.181, allocations: 311.7 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/1.181, allocations: 4 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/1.181, allocations: 4 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.85e-05/1.181, allocations: 4 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.181, allocations: 4.062 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.3e-05/1.181, allocations: 45.02 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.181, allocations: 4 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.181, allocations: 6.406 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.181, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.49e-05/1.181, allocations: 0.5625 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.181, allocations: 4 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/1.181, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.181, allocations: 0.5 kB / 1.127 GB, free: 32.63 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 (2): * Single equations (assignments): 2 * 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 6.072e-05/1.181, allocations: 113.9 kB / 1.127 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/1.181, allocations: 11.47 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.371e-05/1.181, allocations: 42.33 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.181, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.181, allocations: 3.562 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.181, allocations: 0 / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.373e-05/1.181, allocations: 150.3 kB / 1.127 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.181, allocations: 3.562 kB / 1.127 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/1.181, allocations: 8.781 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.181, allocations: 3.953 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.182, allocations: 4.719 kB / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/1.182, allocations: 0 / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.182, allocations: 0 / 1.127 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.038e-05/1.182, allocations: 68.56 kB / 1.127 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/1.182, allocations: 78.28 kB / 1.127 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.182, allocations: 4.516 kB / 1.127 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/1.182, allocations: 0.5469 kB / 1.127 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/1.182, allocations: 4.781 kB / 1.127 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/1.182, allocations: 4 kB / 1.127 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.434e-05/1.182, allocations: 78.66 kB / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.02e-07/1.182, allocations: 0 / 1.127 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002045/1.182, allocations: 19.94 kB / 1.127 GB, free: 31.96 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 (2): * Single equations (assignments): 2 * 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.0003153/1.182, allocations: 0.6235 MB / 1.128 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.668e-05/1.182, allocations: 11.98 kB / 1.128 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.182, allocations: 0 / 1.128 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/1.182, allocations: 7.938 kB / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/1.183, allocations: 12.58 kB / 1.128 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/1.183, allocations: 348 kB / 1.128 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/1.183, allocations: 0.6764 MB / 1.129 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.82e-05/1.183, allocations: 0.8594 kB / 1.129 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/1.183, allocations: 14.77 kB / 1.129 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.183, allocations: 0 / 1.129 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/1.196, allocations: 1.192 MB / 1.13 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/1.196, allocations: 187.7 kB / 1.13 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.795, allocations: 0 / 1.13 GB, free: 29.36 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)