Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 183.3 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 93.41 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004149, allocations: 8.219 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2462, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.4654, allocations: 131.8 MB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.4658, allocations: 83.94 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005015/0.4708, allocations: 1.776 MB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4708, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.4708, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 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.0004165/0.4713, allocations: 363.1 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.4713, allocations: 8.031 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.4714, allocations: 30.56 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.4714, allocations: 4 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.4716, allocations: 167 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.4716, allocations: 8 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.4716, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4718, allocations: 41.67 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4718, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4718, allocations: 4 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4718, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.4719, allocations: 11.98 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.4721, allocations: 165.6 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.401e-05/0.4722, allocations: 34.52 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.4735, allocations: 1.175 MB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.4736, allocations: 30.56 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.4736, allocations: 4 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002041/0.4738, allocations: 49.59 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4738, allocations: 51.41 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.4739, allocations: 108.9 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.474, allocations: 29.7 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.474, allocations: 84.14 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.4741, allocations: 3.906 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.4741, allocations: 3.938 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4742, allocations: 314.8 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.4743, allocations: 8 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.4743, allocations: 4 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.358e-05/0.4743, allocations: 4.672 kB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4743, allocations: 11.89 kB / 1.033 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.702e-05/0.4744, allocations: 45.69 kB / 1.033 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4744, allocations: 4 kB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4745, allocations: 0 / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4745, allocations: 0 / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.4745, allocations: 4 kB / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4746, allocations: 3.938 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.4746, allocations: 7.906 kB / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4746, allocations: 0 / 1.033 GB, free: 6.824 MB / 0.6823 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 0.0001025/0.4747, allocations: 117.8 kB / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.4747, allocations: 7.953 kB / 1.033 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.4749, allocations: 49.59 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4749, allocations: 4 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4749, allocations: 0 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4749, allocations: 384 / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.475, allocations: 153.7 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.475, allocations: 4 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.4751, allocations: 15.94 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4751, allocations: 0 / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4751, allocations: 8 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4751, allocations: 3.938 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4751, allocations: 3.984 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.609e-05/0.4752, allocations: 73.03 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.4753, allocations: 81.09 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4753, allocations: 7.953 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.4754, allocations: 4 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.4754, allocations: 4 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4754, allocations: 4 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.4755, allocations: 83.27 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4755, allocations: 0 / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002411/0.4757, allocations: 31.94 kB / 1.034 GB, free: 6.074 MB / 0.6823 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.0005028/0.4762, allocations: 0.6435 MB / 1.035 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.181e-05/0.4763, allocations: 15.98 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4763, allocations: 4 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.4764, allocations: 4 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4765, allocations: 21.5 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.477, allocations: 172.2 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4774, allocations: 0.6887 MB / 1.035 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.276e-05/0.4775, allocations: 4.547 kB / 1.035 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.4775, allocations: 11.44 kB / 1.035 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/0.4775, allocations: 0 / 1.035 GB, free: 4.418 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.4908, allocations: 1.398 MB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.4911, allocations: 211.9 kB / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.109, allocations: 0 / 1.037 GB, free: 2.941 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)