Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.932/1.932, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001706/0.001706, allocations: 168.4 kB / 361.4 MB, free: 6.812 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.723/2.723, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001178/0.001178, allocations: 90.94 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.128e-05, allocations: 0 / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9485/0.9486, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/1.257, allocations: 137 MB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004614/1.257, allocations: 80.5 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003334/1.26, allocations: 0.8225 MB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.261, allocations: 0 / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.313e-05/1.261, allocations: 4.625 kB / 1.099 GB, free: 1.883 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.0004636/1.261, allocations: 324.3 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/1.261, allocations: 8.906 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/1.261, allocations: 1.031 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/1.261, allocations: 167.5 kB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/1.261, allocations: 0 / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.261, allocations: 0.625 kB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.567e-05/1.262, allocations: 11.58 kB / 1.1 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/1.262, allocations: 36.97 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.262, allocations: 0 / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.262, allocations: 0 / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.262, allocations: 1 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/1.262, allocations: 130.9 kB / 1.1 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.58e-05/1.262, allocations: 31.25 kB / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/1.262, allocations: 5.359 kB / 1.1 GB, free: 1.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009839/1.263, allocations: 0.6028 MB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.263, allocations: 37.69 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.376e-06/1.263, allocations: 1.188 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002511/1.263, allocations: 41.69 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.264, allocations: 51.41 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.264, allocations: 90.12 kB / 1.101 GB, free: 88 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/1.264, allocations: 25.7 kB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.264, allocations: 81.64 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/1.264, allocations: 15.84 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/1.264, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.264, allocations: 315.7 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/1.264, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/1.264, allocations: 4.969 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/1.264, allocations: 5.594 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/1.264, allocations: 1.688 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001301/1.264, allocations: 41.64 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.264, allocations: 7.953 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.264, allocations: 0 / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.264, allocations: 11.94 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/1.264, allocations: 4 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.264, allocations: 2.109 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.85e-05/1.264, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/1.264, allocations: 0 / 1.101 GB, free: 15.57 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 (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.094e-05/1.265, allocations: 106.7 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001055/1.265, allocations: 33.7 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/1.265, allocations: 3.953 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/1.265, allocations: 53.41 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.265, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.265, allocations: 4 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.265, allocations: 3.891 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/1.265, allocations: 128 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.265, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/1.265, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.265, allocations: 3.953 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.265, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.265, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.265, allocations: 4.016 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/1.265, allocations: 65.05 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/1.265, allocations: 81.05 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/1.265, allocations: 7.953 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/1.265, allocations: 3.984 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/1.265, allocations: 0 / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.266, allocations: 2.938 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.485e-05/1.266, allocations: 87.31 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/1.266, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003297/1.266, allocations: 16 kB / 1.102 GB, free: 14.88 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.0006192/1.267, allocations: 0.6134 MB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/1.267, allocations: 12.02 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.267, allocations: 8 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/1.267, allocations: 6.812 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/1.267, allocations: 7.953 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/1.267, allocations: 100.8 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/1.268, allocations: 0.6768 MB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.455e-05/1.268, allocations: 4.062 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/1.268, allocations: 11.44 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/1.268, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/1.302, allocations: 0.8957 MB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/1.302, allocations: 157.7 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/3.393, allocations: 0.75 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)