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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 191.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 251.6 MB / 0.5088 GB, free: 3.289 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001447, allocations: 67.84 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6593, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002746/0.6621, allocations: 1.329 MB / 0.7251 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.6628, allocations: 314.9 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.6628, allocations: 4 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.6628, allocations: 4 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.663, allocations: 7.922 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.6632, allocations: 55.8 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.6633, allocations: 31.86 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.6634, allocations: 7.984 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.6635, allocations: 23.92 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.6635, allocations: 19.92 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.6636, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.6637, allocations: 87.84 kB / 0.7256 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.6638, allocations: 7.938 kB / 0.7256 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.6638, allocations: 11.88 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.664, allocations: 73.81 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.664, allocations: 4 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.664, allocations: 0 / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.664, allocations: 0 / 0.7257 GB, free: 11.16 MB / 0.545 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.0005068/0.6645, allocations: 363.3 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6646, allocations: 8.031 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.6646, allocations: 4.938 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.6648, allocations: 168.3 kB / 0.7262 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.6648, allocations: 384 / 0.7262 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.6648, allocations: 8.375 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6649, allocations: 38.25 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.665, allocations: 192 / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.665, allocations: 7.938 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.665, allocations: 0 / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.665, allocations: 23.84 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.6652, allocations: 153.7 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.6653, allocations: 30.58 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.6654, allocations: 20.91 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.6666, allocations: 1.187 MB / 0.7277 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6667, allocations: 30.56 kB / 0.7277 GB, free: 8.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.6667, allocations: 4 kB / 0.7277 GB, free: 8.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001731/0.6669, allocations: 61.47 kB / 0.7278 GB, free: 8.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6669, allocations: 51.41 kB / 0.7278 GB, free: 8.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.667, allocations: 105.8 kB / 0.7279 GB, free: 8.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.667, allocations: 29.7 kB / 0.7279 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.6671, allocations: 80.14 kB / 0.728 GB, free: 8.344 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.6671, allocations: 7.906 kB / 0.728 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.6671, allocations: 13.72 kB / 0.728 GB, free: 8.316 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6673, allocations: 314.8 kB / 0.7283 GB, free: 8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.6673, allocations: 11.98 kB / 0.7284 GB, free: 7.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.6673, allocations: 4 kB / 0.7284 GB, free: 7.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.6673, allocations: 16.86 kB / 0.7284 GB, free: 7.965 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6674, allocations: 0 / 0.7284 GB, free: 7.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.228e-05/0.6674, allocations: 49.62 kB / 0.7284 GB, free: 7.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6675, allocations: 4 kB / 0.7284 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.6675, allocations: 3.938 kB / 0.7284 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6675, allocations: 0 / 0.7284 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.6675, allocations: 8 kB / 0.7284 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6676, allocations: 4 kB / 0.7284 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.6676, allocations: 0 / 0.7284 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.6676, allocations: 0 / 0.7284 GB, free: 7.891 MB / 0.545 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.6677, allocations: 117.8 kB / 0.7286 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.6677, allocations: 3.906 kB / 0.7286 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.6678, allocations: 73.41 kB / 0.7286 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6679, allocations: 0 / 0.7286 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6679, allocations: 0 / 0.7286 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.6679, allocations: 0 / 0.7286 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.668, allocations: 157.7 kB / 0.7288 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.668, allocations: 3.938 kB / 0.7288 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.668, allocations: 7.984 kB / 0.7288 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.6681, allocations: 0 / 0.7288 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6681, allocations: 3.938 kB / 0.7288 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6681, allocations: 4 kB / 0.7288 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6681, allocations: 0 / 0.7288 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.6682, allocations: 85.33 kB / 0.7289 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.6683, allocations: 85.09 kB / 0.729 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6683, allocations: 7.938 kB / 0.729 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.798e-05/0.6683, allocations: 0 / 0.729 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.6683, allocations: 4 kB / 0.729 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.6684, allocations: 0 / 0.729 GB, free: 7.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.6684, allocations: 91.27 kB / 0.7291 GB, free: 7.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6684, allocations: 0 / 0.7291 GB, free: 7.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002124/0.6687, allocations: 28 kB / 0.7291 GB, free: 7.121 MB / 0.545 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.6689, allocations: 127.2 kB / 0.7292 GB, free: 6.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/0.669, allocations: 15.98 kB / 0.7292 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.669, allocations: 4 kB / 0.7292 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.669, allocations: 7.938 kB / 0.7292 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.6693, allocations: 8 kB / 0.7292 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.6696, allocations: 131.8 kB / 0.7294 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.6698, allocations: 0.677 MB / 0.73 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.6699, allocations: 8 kB / 0.73 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.6699, allocations: 11.44 kB / 0.73 GB, free: 6.074 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.6699, allocations: 0 / 0.73 GB, free: 6.074 MB / 0.545 GB Notification: Performance of Templates: time 0.003094/0.673, allocations: 0.7818 MB / 0.7308 GB, free: 5.301 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)