Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.595/2.595, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.001526/0.001526, allocations: 176.8 kB / 360.6 MB, free: 7.32 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.032/2.032, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001095/0.001095, allocations: 95.98 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.61e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.8359, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/1.069, allocations: 136.8 MB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.07, allocations: 79.55 kB / 1.097 GB, free: 3.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003311/1.073, allocations: 0.8244 MB / 1.098 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.073, allocations: 0 / 1.098 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.092e-06/1.073, allocations: 0 / 1.098 GB, free: 2.789 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003244/1.074, allocations: 325.6 kB / 1.098 GB, free: 2.434 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.074, allocations: 12.53 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/1.074, allocations: 1.984 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.074, allocations: 163 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.074, allocations: 0.625 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/1.074, allocations: 5.312 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.481e-05/1.074, allocations: 11.72 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.296e-05/1.074, allocations: 33.7 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.074, allocations: 0.7188 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/1.074, allocations: 0.625 kB / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.074, allocations: 0 / 1.098 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/1.074, allocations: 140.7 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.017e-05/1.074, allocations: 26.64 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/1.074, allocations: 9.453 kB / 1.099 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/1.075, allocations: 0.6059 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.075, allocations: 35.41 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.075, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/1.076, allocations: 41.48 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.076, allocations: 54.66 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/1.076, allocations: 89 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.076, allocations: 25.7 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/1.076, allocations: 88.12 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.076, allocations: 7.844 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/1.076, allocations: 0 / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.076, allocations: 314.8 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/1.076, allocations: 2.188 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/1.076, allocations: 0 / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/1.076, allocations: 4 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.076, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001352/1.076, allocations: 50.08 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.076, allocations: 8 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.076, allocations: 4.125 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.076, allocations: 3.828 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/1.076, allocations: 4 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/1.076, allocations: 0 / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/1.076, allocations: 0 / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/1.076, allocations: 0 / 1.1 GB, free: 476 kB / 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 () * 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 8.278e-05/1.077, allocations: 104.8 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.989e-05/1.077, allocations: 45.64 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/1.077, allocations: 0 / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/1.077, allocations: 53.41 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.077, allocations: 1.031 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.077, allocations: 0 / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.077, allocations: 0 / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/1.077, allocations: 126.2 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.077, allocations: 0 / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/1.077, allocations: 14.25 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.077, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/1.077, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.077, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.077, allocations: 4.031 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.077, allocations: 65.05 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/1.077, allocations: 82.97 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/1.077, allocations: 7.891 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/1.077, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/1.077, allocations: 4 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.077, allocations: 0 / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.697e-05/1.077, allocations: 83.31 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.077, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002718/1.078, allocations: 16 kB / 1.1 GB, free: 15.78 MB / 0.7136 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 () * 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.0005166/1.078, allocations: 0.6124 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.124e-05/1.078, allocations: 8.031 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.078, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/1.078, allocations: 7.938 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/1.079, allocations: 14.02 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/1.079, allocations: 94.69 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.079, allocations: 0.6768 MB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.79e-05/1.079, allocations: 10.86 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/1.079, allocations: 9.969 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.079, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/1.109, allocations: 0.9034 MB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003664/1.11, allocations: 154.2 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.589, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)