Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.409/2.409, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001507/0.001507, allocations: 188.8 kB / 360.6 MB, free: 7.32 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.055/2.055, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001128/0.001127, allocations: 96.78 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.635e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8415, allocations: 115.3 MB / 0.9634 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/1.084, allocations: 137.2 MB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/1.084, allocations: 73.03 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008114/1.092, allocations: 1.764 MB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/1.092, allocations: 0.5938 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.092, allocations: 4.531 kB / 1.099 GB, free: 1.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004106/1.093, allocations: 347 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.093, allocations: 9.031 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/1.093, allocations: 9.109 kB / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/1.093, allocations: 171.6 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.093, allocations: 4 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/1.093, allocations: 0.6875 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.561e-05/1.093, allocations: 4.75 kB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/1.093, allocations: 47.3 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.093, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.093, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.093, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/1.094, allocations: 138.2 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/1.094, allocations: 30.52 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/1.094, allocations: 13.58 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/1.095, allocations: 1.171 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/1.095, allocations: 35.56 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 3.065e-06/1.095, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002866/1.096, allocations: 51.75 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/1.096, allocations: 51.41 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/1.096, allocations: 97 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.096, allocations: 25.7 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/1.096, allocations: 84.14 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/1.096, allocations: 11.83 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.096, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.096, allocations: 313.5 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/1.096, allocations: 8 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/1.096, allocations: 4 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.207e-05/1.096, allocations: 11.59 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.096, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001291/1.096, allocations: 47.23 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.096, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.096, allocations: 6.125 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.096, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/1.096, allocations: 11.98 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/1.096, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/1.096, allocations: 3.938 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/1.097, allocations: 4 kB / 1.102 GB, free: 14.38 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.203e-05/1.097, allocations: 105 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001246/1.097, allocations: 53.48 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/1.097, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/1.097, allocations: 61.08 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.097, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.097, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.097, allocations: 0 / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/1.097, allocations: 142.1 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.097, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/1.097, allocations: 15.12 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.097, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.097, allocations: 4 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.097, allocations: 6.312 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.097, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/1.097, allocations: 69.06 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/1.098, allocations: 85.11 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/1.098, allocations: 3.953 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/1.098, allocations: 3.984 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/1.098, allocations: 8 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.098, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.382e-05/1.098, allocations: 79.28 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.098, allocations: 3.938 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003172/1.098, allocations: 35.92 kB / 1.102 GB, free: 13.63 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.0005686/1.099, allocations: 0.6481 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.954e-05/1.099, allocations: 8 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.099, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/1.099, allocations: 12 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/1.099, allocations: 4.641 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/1.099, allocations: 109.5 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/1.1, allocations: 0.6807 MB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.362e-05/1.1, allocations: 8 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/1.1, allocations: 11.42 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 2.565e-06/1.1, allocations: 0 / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/1.137, allocations: 1.1 MB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003399/1.137, allocations: 159.1 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.423, allocations: 2.188 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)