Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, 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.001358/0.001358, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 287 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 92.28 kB / 0.5945 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.171, allocations: 86.99 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5367/0.7078, allocations: 215.9 MB / 0.8902 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02948/0.7373, allocations: 26.73 MB / 0.9163 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.7401, allocations: 27.81 kB / 0.9164 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.7433, allocations: 1.015 MB / 0.9174 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007947/0.7513, allocations: 2.956 MB / 0.9202 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.7555, allocations: 1.506 MB / 0.9217 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006198/0.7617, allocations: 5.823 MB / 0.9274 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.7635, allocations: 1.236 MB / 0.9286 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005202/0.7687, allocations: 2.078 MB / 0.9306 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002478/0.7712, allocations: 1.564 MB / 0.9322 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.7714, allocations: 84 kB / 0.9322 GB, free: 4.906 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/0.776, allocations: 2.147 MB / 0.9343 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007502/0.7768, allocations: 0.8138 MB / 0.9351 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.7781, allocations: 1.103 MB / 0.9362 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.782, allocations: 3.029 MB / 0.9392 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.782, allocations: 0 / 0.9392 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7821, allocations: 0 / 0.9392 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.276e-05/0.7821, allocations: 0 / 0.9392 GB, free: 13.79 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003853/0.7859, allocations: 2.772 MB / 0.9419 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.786, allocations: 15.97 kB / 0.9419 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.7877, allocations: 440.3 kB / 0.9423 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.7896, allocations: 1.463 MB / 0.9437 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.7897, allocations: 94.53 kB / 0.9438 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.7899, allocations: 135.9 kB / 0.944 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.7921, allocations: 1.588 MB / 0.9455 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.7921, allocations: 8 kB / 0.9455 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.7922, allocations: 55.94 kB / 0.9456 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-05/0.7923, allocations: 89.95 kB / 0.9457 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.7939, allocations: 1.062 MB / 0.9467 GB, free: 5.797 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.007031/0.801, allocations: 8.091 MB / 0.9546 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.802, allocations: 0.7204 MB / 0.9553 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.8024, allocations: 312.1 kB / 0.9556 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.803, allocations: 0.6051 MB / 0.9562 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.803, allocations: 46.55 kB / 0.9562 GB, free: 11.32 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.424e-06/0.803, allocations: 0 / 0.9562 GB, free: 11.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001655/0.8047, allocations: 0.9678 MB / 0.9572 GB, free: 10.35 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.8048, allocations: 166.2 kB / 0.9573 GB, free: 10.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.8084, allocations: 3.096 MB / 0.9604 GB, free: 7.039 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/0.8085, allocations: 33.7 kB / 0.9604 GB, free: 7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/0.8094, allocations: 1.043 MB / 0.9614 GB, free: 5.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.8096, allocations: 181.3 kB / 0.9616 GB, free: 5.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.8098, allocations: 94.16 kB / 0.9617 GB, free: 5.672 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8099, allocations: 326 kB / 0.962 GB, free: 5.348 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.8103, allocations: 225.1 kB / 0.9622 GB, free: 5.125 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.8108, allocations: 314.9 kB / 0.9625 GB, free: 4.789 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/0.8116, allocations: 0.5688 MB / 0.9631 GB, free: 4.188 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8116, allocations: 0 / 0.9631 GB, free: 4.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001192/0.8128, allocations: 0.7875 MB / 0.9638 GB, free: 3.391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.8128, allocations: 8.25 kB / 0.9638 GB, free: 3.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8129, allocations: 8 kB / 0.9638 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.8129, allocations: 11.94 kB / 0.9639 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.8133, allocations: 103.8 kB / 0.9639 GB, free: 3.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8133, allocations: 4 kB / 0.964 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8143, allocations: 150.8 kB / 0.9641 GB, free: 3.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.8144, allocations: 27.98 kB / 0.9641 GB, free: 3.082 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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 0.0007731/0.8152, allocations: 0.5404 MB / 0.9647 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.8155, allocations: 221.2 kB / 0.9649 GB, free: 2.312 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.8167, allocations: 0.7979 MB / 0.9656 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.8167, allocations: 7.984 kB / 0.9656 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8167, allocations: 4 kB / 0.9657 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.8167, allocations: 0 / 0.9657 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.8195, allocations: 2.013 MB / 0.9676 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.8195, allocations: 0 / 0.9676 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.82, allocations: 107.8 kB / 0.9677 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.82, allocations: 4 kB / 0.9677 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.82, allocations: 16 kB / 0.9677 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.82, allocations: 4 kB / 0.9677 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8201, allocations: 0 / 0.9677 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.8217, allocations: 1.278 MB / 0.969 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006002/0.8223, allocations: 390 kB / 0.9694 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.8226, allocations: 12 kB / 0.9694 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.8234, allocations: 79.83 kB / 0.9695 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.8235, allocations: 48.27 kB / 0.9695 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.8235, allocations: 15.94 kB / 0.9695 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00258/0.8261, allocations: 2.219 MB / 0.9717 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8261, allocations: 0 / 0.9717 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001092/0.8272, allocations: 471 kB / 0.9721 GB, free: 10.72 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.001237/0.8284, allocations: 0.5354 MB / 0.9727 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008857/0.8293, allocations: 0.5219 MB / 0.9732 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8294, allocations: 0 / 0.9732 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.8298, allocations: 295.1 kB / 0.9734 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.8332, allocations: 0.8361 MB / 0.9743 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.839, allocations: 4.908 MB / 0.9791 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.8402, allocations: 1.644 MB / 0.9807 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001409/0.8416, allocations: 445.7 kB / 0.9811 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.842, allocations: 151.4 kB / 0.9812 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.842, allocations: 0 / 0.9812 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of Templates: time 0.05179/0.8938, allocations: 31.04 MB / 1.012 GB, free: 2.797 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)