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 1.771/1.771, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001148/0.001148, allocations: 180.2 kB / 371.6 MB, free: 3.359 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.797/1.797, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009601/0.0009601, allocations: 88.86 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.32e-05/4.33e-05, allocations: 7.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8842/1.152, allocations: 139 MB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.153, allocations: 81.05 kB / 1.116 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004962/1.157, allocations: 1.758 MB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/1.158, allocations: 0 / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.158, allocations: 4 kB / 1.117 GB, free: 43.55 MB / 0.7448 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.0002772/1.158, allocations: 343.4 kB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.158, allocations: 12.03 kB / 1.118 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/1.158, allocations: 30.56 kB / 1.118 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/1.158, allocations: 8.562 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/1.158, allocations: 176.6 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/1.158, allocations: 3.828 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/1.158, allocations: 4 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/1.158, allocations: 37.92 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.158, allocations: 0 / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/1.158, allocations: 0 / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.158, allocations: 0 / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.426e-05/1.158, allocations: 12.38 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/1.158, allocations: 160.9 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/1.159, allocations: 37.28 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/1.159, allocations: 12.11 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/1.159, allocations: 1.171 MB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/1.159, allocations: 34.56 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/1.159, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001504/1.16, allocations: 48.72 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.16, allocations: 55.34 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/1.16, allocations: 104.1 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.16, allocations: 28.39 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/1.16, allocations: 80.14 kB / 1.12 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/1.16, allocations: 3.906 kB / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/1.16, allocations: 0 / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.042e-05/1.16, allocations: 317.5 kB / 1.12 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/1.16, allocations: 4 kB / 1.12 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/1.16, allocations: 6.828 kB / 1.12 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/1.16, allocations: 11.42 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.16, allocations: 0 / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.988e-05/1.16, allocations: 48.17 kB / 1.12 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.16, allocations: 8 kB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.16, allocations: 0 / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.16, allocations: 1.438 kB / 1.12 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/1.16, allocations: 7.938 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/1.16, allocations: 0 / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/1.16, allocations: 3.938 kB / 1.12 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.16, allocations: 5.281 kB / 1.12 GB, free: 40.45 MB / 0.7448 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 4.938e-05/1.16, allocations: 106.6 kB / 1.12 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/1.16, allocations: 15.28 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/1.16, allocations: 53.94 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.16, allocations: 0 / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.16, allocations: 0 / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.16, allocations: 4.844 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/1.161, allocations: 157.4 kB / 1.12 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.161, allocations: 4 kB / 1.12 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/1.161, allocations: 4 kB / 1.12 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.161, allocations: 11.89 kB / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.161, allocations: 0 / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.161, allocations: 0.5 kB / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.161, allocations: 0.5469 kB / 1.12 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.068e-05/1.161, allocations: 72.83 kB / 1.12 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/1.161, allocations: 84.53 kB / 1.121 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/1.161, allocations: 9.766 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/1.161, allocations: 7.828 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/1.161, allocations: 3.281 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/1.161, allocations: 0 / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.627e-05/1.161, allocations: 87.34 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.161, allocations: 0 / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002073/1.161, allocations: 35.22 kB / 1.121 GB, free: 39.77 MB / 0.7448 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.0003354/1.161, allocations: 0.6375 MB / 1.121 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.925e-05/1.162, allocations: 19.66 kB / 1.121 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.162, allocations: 0 / 1.121 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/1.162, allocations: 7.938 kB / 1.121 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/1.162, allocations: 12.36 kB / 1.121 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/1.162, allocations: 111.7 kB / 1.121 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.162, allocations: 0.6842 MB / 1.122 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.47e-05/1.162, allocations: 8.047 kB / 1.122 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/1.162, allocations: 7.438 kB / 1.122 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/1.162, allocations: 0.6562 kB / 1.122 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/1.174, allocations: 1.403 MB / 1.124 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.175, allocations: 164.3 kB / 1.124 GB, free: 37.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.739, allocations: 0.6875 kB / 1.124 GB, free: 37.29 MB / 0.7448 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)