Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.98 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.001006/0.001006, allocations: 171.3 kB / 316.3 MB, free: 3.328 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.406/1.406, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008966/0.0008967, allocations: 77.56 kB / 0.6714 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.639e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 106.4 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.627/0.8029, allocations: 131.6 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.8032, allocations: 83.91 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002195/0.8054, allocations: 0.8259 MB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8054, allocations: 0 / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8054, allocations: 3.188 kB / 1.015 GB, free: 5.359 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002591/0.8057, allocations: 323.6 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8058, allocations: 12.03 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.8058, allocations: 0 / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.8059, allocations: 167 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.806, allocations: 0 / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.806, allocations: 8.844 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.169e-05/0.806, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.568e-05/0.8061, allocations: 37.19 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.8061, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.8061, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.8061, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.8063, allocations: 130.2 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.33e-05/0.8063, allocations: 21.73 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.8064, allocations: 16.91 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006473/0.807, allocations: 0.6084 MB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.8071, allocations: 30.56 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.765e-06/0.8071, allocations: 0 / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001523/0.8072, allocations: 40.42 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.8073, allocations: 51.41 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.8074, allocations: 96.22 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.8074, allocations: 25.7 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.8074, allocations: 80.14 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.8075, allocations: 7.844 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.8075, allocations: 0 / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8076, allocations: 322.4 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.8076, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.8076, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.8077, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8077, allocations: 4.062 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.043e-05/0.8078, allocations: 44.97 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.8078, allocations: 8 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8078, allocations: 4.797 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8078, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.8079, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.8079, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.8079, allocations: 3.906 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.808, allocations: 0 / 1.017 GB, free: 3.035 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 (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 7.293e-05/0.808, allocations: 105 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.892e-05/0.8081, allocations: 44.16 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/0.8081, allocations: 3.984 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.8082, allocations: 48.59 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.8083, allocations: 0 / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8083, allocations: 3.938 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8083, allocations: 3.984 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.857e-05/0.8084, allocations: 126.4 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8084, allocations: 0 / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.8084, allocations: 15.33 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8084, allocations: 3.984 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.8084, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8084, allocations: 3.984 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8084, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.771e-05/0.8085, allocations: 64.45 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.8086, allocations: 81.02 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.8086, allocations: 7.938 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.8086, allocations: 4.031 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.8087, allocations: 4 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.8087, allocations: 3.938 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.8087, allocations: 75.28 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8087, allocations: 0 / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002022/0.8089, allocations: 12 kB / 1.017 GB, free: 2.352 MB / 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 (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.0004232/0.8094, allocations: 0.6173 MB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/0.8094, allocations: 15.25 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8094, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/0.8095, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.8096, allocations: 7.953 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.81, allocations: 91.75 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.8102, allocations: 0.6768 MB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.8103, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.8103, allocations: 11.38 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.8103, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.8293, allocations: 0.8996 MB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.8296, allocations: 172.5 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.356, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)