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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 179.5 kB / 316.3 MB, free: 3.23 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.615/1.615, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008514/0.0008513, allocations: 94.2 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.689e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1882, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.657/0.8452, allocations: 132 MB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.8455, allocations: 75.83 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004945/0.8504, allocations: 1.753 MB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8505, allocations: 3.938 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8505, allocations: 0.75 kB / 1.016 GB, free: 3.914 MB / 0.6355 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.0003055/0.8508, allocations: 340.9 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.8508, allocations: 16.02 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.8509, allocations: 3.688 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.851, allocations: 178.9 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.851, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.851, allocations: 3.984 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.865e-05/0.8511, allocations: 8 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.8512, allocations: 37.62 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8512, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.8512, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8512, allocations: 4 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.8514, allocations: 137.8 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.8515, allocations: 37.77 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.8515, allocations: 8.484 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.8525, allocations: 1.171 MB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8526, allocations: 30.56 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.8526, allocations: 4 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001914/0.8528, allocations: 45.38 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.8528, allocations: 51.41 kB / 1.018 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.8529, allocations: 100.5 kB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.8529, allocations: 25.7 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.853, allocations: 80.14 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.853, allocations: 15 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-06/0.853, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8532, allocations: 310.8 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.8532, allocations: 8 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.8532, allocations: 9.844 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.8533, allocations: 7.984 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8533, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.157e-05/0.8534, allocations: 37.66 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8534, allocations: 11.94 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.8534, allocations: 3.984 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8534, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.8535, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.8535, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.8535, allocations: 7.938 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.8535, allocations: 6.625 kB / 1.019 GB, free: 0.8125 MB / 0.6355 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 6.5e-05/0.8536, allocations: 101 kB / 1.019 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.151e-05/0.8537, allocations: 49.58 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.8537, allocations: 7.906 kB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.8539, allocations: 58.12 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8539, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8539, allocations: 288 / 1.019 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.8539, allocations: 3.984 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.854, allocations: 133.2 kB / 1.019 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.854, allocations: 0 / 1.019 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.854, allocations: 19.94 kB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8541, allocations: 0 / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8541, allocations: 0 / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8541, allocations: 3.938 kB / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8541, allocations: 320 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.8542, allocations: 80.22 kB / 1.019 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.8543, allocations: 83.34 kB / 1.019 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8543, allocations: 7.953 kB / 1.019 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.8544, allocations: 0 / 1.019 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.8544, allocations: 0 / 1.019 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.8544, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.8545, allocations: 86.27 kB / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8545, allocations: 0 / 1.019 GB, free: 104 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002268/0.8547, allocations: 39.92 kB / 1.019 GB, free: 64 kB / 0.6355 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.0005105/0.8552, allocations: 0.6375 MB / 1.02 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.8553, allocations: 11 kB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8553, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.8553, allocations: 8 kB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.8555, allocations: 12.45 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.8558, allocations: 116.4 kB / 1.02 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.8561, allocations: 0.6807 MB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.771e-05/0.8561, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.8562, allocations: 10.25 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8562, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.8731, allocations: 1.098 MB / 1.022 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.8733, allocations: 170.4 kB / 1.022 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.353/2.226, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.6511 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)