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 2.002/2.002, allocations: 289.9 MB / 297.4 MB, free: 6.316 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.001124/0.001124, allocations: 192.8 kB / 366.7 MB, free: 1.641 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.85/1.85, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.001143/0.001144, allocations: 91.84 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.627e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.782, allocations: 116.3 MB / 0.9733 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2173/0.9994, allocations: 138.3 MB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.9998, allocations: 80.56 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005556/1.005, allocations: 1.762 MB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/1.005, allocations: 2.531 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.005, allocations: 0 / 1.11 GB, free: 10.01 MB / 0.7136 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.0003807/1.006, allocations: 342.4 kB / 1.111 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.006, allocations: 12.02 kB / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/1.006, allocations: 3.906 kB / 1.111 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/1.006, allocations: 170.7 kB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.006, allocations: 0 / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/1.006, allocations: 0 / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.948e-05/1.006, allocations: 15.94 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.079e-05/1.006, allocations: 34.31 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.006, allocations: 1.156 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.006, allocations: 0 / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.006, allocations: 4 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/1.007, allocations: 135.5 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/1.007, allocations: 37.38 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/1.007, allocations: 10.7 kB / 1.111 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/1.008, allocations: 1.17 MB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.008, allocations: 38.5 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.008, allocations: 0 / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002302/1.008, allocations: 45.59 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/1.008, allocations: 51.62 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/1.008, allocations: 101 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.008, allocations: 29.64 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/1.009, allocations: 81.14 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/1.009, allocations: 11.91 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.009, allocations: 4 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.009, allocations: 313.5 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/1.009, allocations: 4 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/1.009, allocations: 4 kB / 1.113 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/1.009, allocations: 11.98 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.009, allocations: 0 / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001073/1.009, allocations: 45.77 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.009, allocations: 9.359 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.009, allocations: 0 / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.009, allocations: 9.859 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/1.009, allocations: 4 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.009, allocations: 0 / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/1.009, allocations: 7.938 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/1.009, allocations: 0 / 1.113 GB, free: 6.898 MB / 0.7136 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 (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 8.1e-05/1.009, allocations: 101 kB / 1.113 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001072/1.009, allocations: 49.59 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/1.009, allocations: 7.953 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/1.01, allocations: 61.97 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.01, allocations: 0 / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.01, allocations: 0 / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/1.01, allocations: 0 / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/1.01, allocations: 138.1 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.01, allocations: 3.984 kB / 1.113 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/1.01, allocations: 8 kB / 1.113 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.01, allocations: 5.391 kB / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.01, allocations: 0 / 1.113 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.01, allocations: 4 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.01, allocations: 0 / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/1.01, allocations: 73.06 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/1.01, allocations: 83.06 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/1.01, allocations: 7.953 kB / 1.113 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/1.01, allocations: 0 / 1.113 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/1.01, allocations: 3.938 kB / 1.113 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.01, allocations: 4 kB / 1.113 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.432e-05/1.01, allocations: 89.47 kB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/1.01, allocations: 0 / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002386/1.01, allocations: 35.92 kB / 1.113 GB, free: 6.141 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 (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.0005613/1.011, allocations: 0.6319 MB / 1.114 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.378e-05/1.011, allocations: 15.94 kB / 1.114 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.011, allocations: 4 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/1.011, allocations: 8 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.011, allocations: 3.953 kB / 1.114 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/1.012, allocations: 114.3 kB / 1.114 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.012, allocations: 0.6807 MB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.146e-05/1.012, allocations: 11.98 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/1.012, allocations: 7.438 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/1.012, allocations: 2.906 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/1.043, allocations: 1.1 MB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004027/1.044, allocations: 153.2 kB / 1.116 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.844, allocations: 7.969 kB / 1.116 GB, free: 3.324 MB / 0.7136 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)