Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00197/0.00197, allocations: 194.9 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002744/0.002744, allocations: 290.5 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002835, allocations: 98.3 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1719, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.6026/0.7746, allocations: 211.4 MB / 0.8992 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.7908, allocations: 10.31 MB / 0.9093 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.7926, allocations: 35.81 kB / 0.9093 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.7949, allocations: 0.7269 MB / 0.9101 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007166/0.8021, allocations: 2.716 MB / 0.9127 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.8057, allocations: 1.291 MB / 0.914 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005894/0.8116, allocations: 4.649 MB / 0.9185 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.8132, allocations: 0.8829 MB / 0.9194 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.8155, allocations: 0.9765 MB / 0.9203 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.818, allocations: 1.122 MB / 0.9214 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.8182, allocations: 68 kB / 0.9215 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006327/0.8245, allocations: 3.203 MB / 0.9246 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006293/0.8252, allocations: 454.6 kB / 0.9251 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.8262, allocations: 0.6609 MB / 0.9257 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.8311, allocations: 2.941 MB / 0.9286 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8311, allocations: 0 / 0.9286 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8311, allocations: 0 / 0.9286 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.8311, allocations: 0 / 0.9286 GB, free: 10.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004284/0.8354, allocations: 1.796 MB / 0.9303 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8354, allocations: 11.97 kB / 0.9303 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.8386, allocations: 426 kB / 0.9307 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.8401, allocations: 0.8588 MB / 0.9316 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.8402, allocations: 77.98 kB / 0.9317 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.8404, allocations: 95.91 kB / 0.9317 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.8425, allocations: 1.198 MB / 0.9329 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/0.8426, allocations: 4 kB / 0.9329 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8427, allocations: 36 kB / 0.933 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/0.8428, allocations: 53.98 kB / 0.933 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.8448, allocations: 1.07 MB / 0.934 GB, free: 4.781 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/0.8508, allocations: 4.735 MB / 0.9387 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.8525, allocations: 0.988 MB / 0.9396 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8535, allocations: 0.572 MB / 0.9402 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.8543, allocations: 0.6733 MB / 0.9409 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.8543, allocations: 51.16 kB / 0.9409 GB, free: 13.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/0.8543, allocations: 0 / 0.9409 GB, free: 13.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=83): time 0.004755/0.8591, allocations: 2.296 MB / 0.9431 GB, free: 10.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8591, allocations: 60.41 kB / 0.9432 GB, free: 10.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.86, allocations: 0.6411 MB / 0.9438 GB, free: 10.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/0.8601, allocations: 41.7 kB / 0.9439 GB, free: 10.05 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.8604, allocations: 460 kB / 0.9443 GB, free: 9.598 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.8607, allocations: 291.6 kB / 0.9446 GB, free: 9.309 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.861, allocations: 134.7 kB / 0.9447 GB, free: 9.172 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8612, allocations: 394.7 kB / 0.9451 GB, free: 8.777 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.8618, allocations: 321.8 kB / 0.9454 GB, free: 8.461 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.8624, allocations: 430.5 kB / 0.9458 GB, free: 8.016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.8637, allocations: 0.7807 MB / 0.9466 GB, free: 7.211 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8637, allocations: 0 / 0.9466 GB, free: 7.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001694/0.8654, allocations: 0.9503 MB / 0.9475 GB, free: 6.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8654, allocations: 8 kB / 0.9475 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8655, allocations: 2.188 kB / 0.9475 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.8657, allocations: 52.83 kB / 0.9476 GB, free: 6.184 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.8665, allocations: 163.7 kB / 0.9477 GB, free: 6.023 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005685/0.8671, allocations: 0.6071 MB / 0.9483 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.8681, allocations: 111.7 kB / 0.9484 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.8682, allocations: 28 kB / 0.9484 GB, free: 5.254 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004973/0.8687, allocations: 298.2 kB / 0.9487 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.8689, allocations: 94.84 kB / 0.9488 GB, free: 4.859 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.8706, allocations: 0.9363 MB / 0.9497 GB, free: 3.914 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.8706, allocations: 8 kB / 0.9497 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8706, allocations: 4.062 kB / 0.9497 GB, free: 3.902 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/0.872, allocations: 0.9232 MB / 0.9506 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003436/0.8754, allocations: 2.119 MB / 0.9527 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8754, allocations: 0 / 0.9527 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.8764, allocations: 195.8 kB / 0.9529 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.8765, allocations: 4 kB / 0.9529 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.752e-05/0.8765, allocations: 16 kB / 0.9529 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.8765, allocations: 11.88 kB / 0.9529 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8765, allocations: 3.984 kB / 0.9529 GB, free: 0.5352 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.8788, allocations: 1.384 MB / 0.9543 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.8792, allocations: 252 kB / 0.9545 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.8794, allocations: 19.94 kB / 0.9545 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.8802, allocations: 84.34 kB / 0.9546 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.8804, allocations: 52.92 kB / 0.9547 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.8805, allocations: 27.98 kB / 0.9547 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008129/0.8813, allocations: 459 kB / 0.9551 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8813, allocations: 0 / 0.9551 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001101/0.8824, allocations: 327.9 kB / 0.9554 GB, free: 13.92 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0004936/0.883, allocations: 211.2 kB / 0.9557 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.8845, allocations: 0.809 MB / 0.9564 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8845, allocations: 0 / 0.9564 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.8852, allocations: 441.6 kB / 0.9569 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.8878, allocations: 0.5669 MB / 0.9574 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.8921, allocations: 2.734 MB / 0.9601 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008304/0.893, allocations: 1.128 MB / 0.9612 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001165/0.8941, allocations: 259.8 kB / 0.9614 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.8944, allocations: 75.42 kB / 0.9615 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of SimCode: time 3.4e-07/0.8944, allocations: 0 / 0.9615 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of Templates: time 0.03531/0.9297, allocations: 19.54 MB / 0.9806 GB, free: 4.395 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)