Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009482/0.009482, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.002093/0.002093, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 287.2 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001964, allocations: 99.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2123, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.7305/0.9428, allocations: 188.4 MB / 0.9503 GB, free: 6.512 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.9529, allocations: 6.099 MB / 0.9563 GB, free: 412 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.9548, allocations: 39.75 kB / 0.9563 GB, free: 372 kB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.9565, allocations: 0.5087 MB / 0.9568 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.9618, allocations: 1.891 MB / 0.9587 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.9646, allocations: 0.9622 MB / 0.9596 GB, free: 13 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.9684, allocations: 2.484 MB / 0.962 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.9696, allocations: 0.7681 MB / 0.9628 GB, free: 9.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.9714, allocations: 0.8834 MB / 0.9637 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.9732, allocations: 0.7754 MB / 0.9644 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.9733, allocations: 91.94 kB / 0.9645 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.9768, allocations: 1.582 MB / 0.966 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.9773, allocations: 370.9 kB / 0.9664 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/0.978, allocations: 0.5522 MB / 0.9669 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.9818, allocations: 1.932 MB / 0.9688 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9818, allocations: 0 / 0.9688 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9818, allocations: 0 / 0.9688 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.9818, allocations: 0 / 0.9688 GB, free: 3.535 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002534/0.9844, allocations: 1.371 MB / 0.9702 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.9844, allocations: 12.03 kB / 0.9702 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.9865, allocations: 314.4 kB / 0.9705 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.9878, allocations: 0.7884 MB / 0.9712 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.9878, allocations: 50.06 kB / 0.9713 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9879, allocations: 68 kB / 0.9714 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.9893, allocations: 0.7862 MB / 0.9721 GB, free: 44 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.9893, allocations: 3.938 kB / 0.9721 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.847e-05/0.9894, allocations: 28 kB / 0.9722 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/0.9895, allocations: 29.34 kB / 0.9722 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.9905, allocations: 0.6335 MB / 0.9728 GB, free: 15.35 MB / 0.7325 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.003912/0.9945, allocations: 3.37 MB / 0.9761 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.9953, allocations: 0.4953 MB / 0.9766 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.9958, allocations: 289.2 kB / 0.9768 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/0.9964, allocations: 0.6731 MB / 0.9775 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.9965, allocations: 43 kB / 0.9775 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 2.464e-06/0.9965, allocations: 3.938 kB / 0.9776 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001649/0.9981, allocations: 0.7753 MB / 0.9783 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9982, allocations: 55.84 kB / 0.9784 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/0.9989, allocations: 0.598 MB / 0.9789 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.9989, allocations: 37.7 kB / 0.979 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.9992, allocations: 392.1 kB / 0.9794 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.9994, allocations: 185.2 kB / 0.9795 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.9995, allocations: 94.25 kB / 0.9796 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9997, allocations: 382.8 kB / 0.98 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/1, allocations: 205 kB / 0.9802 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/1, allocations: 279.2 kB / 0.9804 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007663/1.001, allocations: 0.5075 MB / 0.9809 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.001, allocations: 4 kB / 0.9809 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00102/1.002, allocations: 0.623 MB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.002, allocations: 4 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/1.002, allocations: 5.172 kB / 0.9816 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.002, allocations: 0 / 0.9816 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/1.003, allocations: 136 kB / 0.9817 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.003, allocations: 11.88 kB / 0.9817 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/1.004, allocations: 43.58 kB / 0.9817 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.004, allocations: 16 kB / 0.9818 GB, free: 5.613 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0003594/1.004, allocations: 254.4 kB / 0.982 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/1.004, allocations: 79.06 kB / 0.9821 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/1.005, allocations: 0.597 MB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.005, allocations: 4 kB / 0.9827 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.005, allocations: 8.812 kB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008952/1.006, allocations: 0.8067 MB / 0.9835 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/1.008, allocations: 1.542 MB / 0.985 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.008, allocations: 4 kB / 0.985 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/1.009, allocations: 155.8 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.009, allocations: 12.08 kB / 0.9851 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/1.009, allocations: 19.92 kB / 0.9852 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.009, allocations: 7.938 kB / 0.9852 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.009, allocations: 0 / 0.9852 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/1.011, allocations: 0.9472 MB / 0.9861 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/1.011, allocations: 216 kB / 0.9863 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.126e-05/1.011, allocations: 12 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/1.012, allocations: 31.52 kB / 0.9863 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.012, allocations: 36.33 kB / 0.9864 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/1.012, allocations: 19.98 kB / 0.9864 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004697/1.012, allocations: 431 kB / 0.9868 GB, free: 260 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 0.9868 GB, free: 260 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007599/1.013, allocations: 283.3 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.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 (51): * Single equations (assignments): 51 * 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.0004885/1.013, allocations: 198.2 kB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009045/1.014, allocations: 0.5056 MB / 0.9878 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.014, allocations: 0 / 0.9878 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/1.015, allocations: 270.3 kB / 0.988 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/1.017, allocations: 498.3 kB / 0.9885 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.02, allocations: 1.819 MB / 0.9903 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/1.02, allocations: 1.024 MB / 0.9913 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006141/1.021, allocations: 186.1 kB / 0.9914 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/1.021, allocations: 59.44 kB / 0.9915 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/1.021, allocations: 0 / 0.9915 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.02665/1.048, allocations: 15.86 MB / 1.007 GB, free: 11.79 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1)