Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 174.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.174/2.174, allocations: 205.4 MB / 426.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009439/0.0009438, allocations: 74.42 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002338/0.002338, allocations: 270 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005598, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5541, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.704, allocations: 106.9 MB / 0.8438 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.7043, allocations: 75.94 kB / 0.8439 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002245/0.7066, allocations: 0.8347 MB / 0.8447 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7066, allocations: 0 / 0.8447 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.7066, allocations: 4 kB / 0.8447 GB, free: 2.445 MB / 0.5105 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.0003185/0.7069, allocations: 327.5 kB / 0.845 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.707, allocations: 12.03 kB / 0.845 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.707, allocations: 0.9375 kB / 0.845 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.7072, allocations: 168.3 kB / 0.8452 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.7072, allocations: 384 / 0.8452 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.7072, allocations: 4.375 kB / 0.8452 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.265e-05/0.7073, allocations: 34.19 kB / 0.8452 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.7073, allocations: 8.188 kB / 0.8452 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7074, allocations: 3.938 kB / 0.8452 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7074, allocations: 0 / 0.8452 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.7074, allocations: 7.938 kB / 0.8453 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.7076, allocations: 149.7 kB / 0.8454 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.7076, allocations: 26.61 kB / 0.8454 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.7077, allocations: 4.859 kB / 0.8454 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006627/0.7083, allocations: 0.6091 MB / 0.846 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.7084, allocations: 34.56 kB / 0.8461 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7084, allocations: 0 / 0.8461 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.7085, allocations: 49.56 kB / 0.8461 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.7086, allocations: 51.41 kB / 0.8461 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.7087, allocations: 97.86 kB / 0.8462 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.7087, allocations: 25.7 kB / 0.8463 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.7087, allocations: 84.27 kB / 0.8463 GB, free: 448 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.7088, allocations: 7.844 kB / 0.8464 GB, free: 440 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.7088, allocations: 4 kB / 0.8464 GB, free: 436 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7089, allocations: 318.8 kB / 0.8467 GB, free: 108 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.7089, allocations: 0 / 0.8467 GB, free: 108 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.7089, allocations: 4 kB / 0.8467 GB, free: 104 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.709, allocations: 12.86 kB / 0.8467 GB, free: 88 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.709, allocations: 0 / 0.8467 GB, free: 88 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.806e-05/0.7091, allocations: 41.7 kB / 0.8467 GB, free: 40 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7091, allocations: 8 kB / 0.8467 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7091, allocations: 7.922 kB / 0.8467 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7091, allocations: 0 / 0.8467 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.7092, allocations: 4 kB / 0.8467 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7092, allocations: 0 / 0.8467 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.7092, allocations: 4 kB / 0.8467 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7092, allocations: 3.938 kB / 0.8467 GB, free: 12 kB / 0.5105 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 () * Number of clocked 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 9.57e-05/0.7093, allocations: 109.8 kB / 0.8468 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.7093, allocations: 8.031 kB / 0.8469 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.7094, allocations: 52.69 kB / 0.8469 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7094, allocations: 0 / 0.8469 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7095, allocations: 3.938 kB / 0.8469 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7095, allocations: 0 / 0.8469 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.7096, allocations: 149.7 kB / 0.8471 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7096, allocations: 0 / 0.8471 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.7096, allocations: 4 kB / 0.8471 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7096, allocations: 0 / 0.8471 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7096, allocations: 3.938 kB / 0.8471 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7097, allocations: 4.031 kB / 0.8471 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7097, allocations: 0 / 0.8471 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.223e-05/0.7097, allocations: 73.03 kB / 0.8471 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.7098, allocations: 77.11 kB / 0.8472 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.7098, allocations: 3.938 kB / 0.8472 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.543e-05/0.7098, allocations: 3.938 kB / 0.8472 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.7099, allocations: 4 kB / 0.8472 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.7099, allocations: 4.031 kB / 0.8472 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.7099, allocations: 79.27 kB / 0.8473 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7099, allocations: 4 kB / 0.8473 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001853/0.7101, allocations: 12 kB / 0.8473 GB, free: 15.33 MB / 0.5261 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 () * Number of clocked 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.0001677/0.7103, allocations: 119.2 kB / 0.8474 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.7104, allocations: 8 kB / 0.8474 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7104, allocations: 4 kB / 0.8474 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.7104, allocations: 8.062 kB / 0.8474 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.7106, allocations: 0 / 0.8474 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.7109, allocations: 114.6 kB / 0.8476 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.7112, allocations: 0.677 MB / 0.8482 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.7112, allocations: 0 / 0.8482 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.7112, allocations: 11.5 kB / 0.8482 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.9e-07/0.7112, allocations: 0 / 0.8482 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.002599/0.7139, allocations: 0.5693 MB / 0.8488 GB, free: 13.76 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)