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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002241/0.002241, allocations: 278.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001682, allocations: 99.53 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2255, allocations: 86.99 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.6253/0.8509, allocations: 218.2 MB / 0.8932 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03141/0.8824, allocations: 26.47 MB / 0.9191 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.8851, allocations: 35.81 kB / 0.9191 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.8883, allocations: 1.162 MB / 0.9202 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008249/0.8966, allocations: 3.139 MB / 0.9233 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.9012, allocations: 1.643 MB / 0.9249 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006075/0.9073, allocations: 3.849 MB / 0.9287 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.9095, allocations: 1.454 MB / 0.9301 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.9147, allocations: 2.28 MB / 0.9323 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.9175, allocations: 1.469 MB / 0.9338 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.9178, allocations: 131.9 kB / 0.9339 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.9222, allocations: 1.8 MB / 0.9356 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008117/0.923, allocations: 0.849 MB / 0.9365 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.9244, allocations: 1.142 MB / 0.9376 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.9292, allocations: 2.928 MB / 0.9404 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.9293, allocations: 4 kB / 0.9405 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9293, allocations: 0 / 0.9405 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.9293, allocations: 0 / 0.9405 GB, free: 12.71 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.004015/0.9333, allocations: 2.771 MB / 0.9432 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.9334, allocations: 8.031 kB / 0.9432 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.9351, allocations: 448.3 kB / 0.9436 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.9372, allocations: 1.463 MB / 0.945 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-05/0.9373, allocations: 98.52 kB / 0.9451 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.9375, allocations: 127.9 kB / 0.9452 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.9399, allocations: 1.592 MB / 0.9468 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.94, allocations: 7.938 kB / 0.9468 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.9401, allocations: 59.98 kB / 0.9469 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.9402, allocations: 89.95 kB / 0.9469 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.942, allocations: 1.065 MB / 0.948 GB, free: 4.723 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.008321/0.9504, allocations: 8.138 MB / 0.9559 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.9514, allocations: 0.7311 MB / 0.9566 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.9518, allocations: 312.1 kB / 0.9569 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.9525, allocations: 0.6051 MB / 0.9575 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.9525, allocations: 46.56 kB / 0.9576 GB, free: 10.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/0.9525, allocations: 0 / 0.9576 GB, free: 10.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.00167/0.9542, allocations: 0.9634 MB / 0.9585 GB, free: 9.223 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.434e-05/0.9543, allocations: 174.6 kB / 0.9587 GB, free: 9.016 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.9579, allocations: 3.096 MB / 0.9617 GB, free: 5.906 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.9579, allocations: 37.7 kB / 0.9617 GB, free: 5.863 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/0.9588, allocations: 1.035 MB / 0.9628 GB, free: 4.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.9589, allocations: 177.4 kB / 0.9629 GB, free: 4.645 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.959, allocations: 98.16 kB / 0.963 GB, free: 4.543 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.9592, allocations: 326 kB / 0.9633 GB, free: 4.219 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.9595, allocations: 221 kB / 0.9635 GB, free: 4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.96, allocations: 318.9 kB / 0.9638 GB, free: 3.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.9607, allocations: 0.5571 MB / 0.9644 GB, free: 3.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9608, allocations: 4 kB / 0.9644 GB, free: 3.066 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001403/0.9622, allocations: 0.7953 MB / 0.9652 GB, free: 2.262 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.9622, allocations: 8 kB / 0.9652 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.9622, allocations: 256 / 0.9652 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.9623, allocations: 11.94 kB / 0.9652 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.9627, allocations: 103.9 kB / 0.9653 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9627, allocations: 11.92 kB / 0.9653 GB, free: 2.129 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.9635, allocations: 86.88 kB / 0.9654 GB, free: 2.043 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.9636, allocations: 23.98 kB / 0.9654 GB, free: 2.02 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.0007668/0.9644, allocations: 0.5365 MB / 0.9659 GB, free: 1.473 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.9647, allocations: 225.2 kB / 0.9661 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.966, allocations: 0.7983 MB / 0.9669 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.966, allocations: 11.92 kB / 0.9669 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.966, allocations: 4 kB / 0.9669 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.966, allocations: 0 / 0.9669 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.9688, allocations: 2.017 MB / 0.9689 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9688, allocations: 4 kB / 0.9689 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.9692, allocations: 99.88 kB / 0.969 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.9692, allocations: 4 kB / 0.969 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.9692, allocations: 20.19 kB / 0.969 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.9693, allocations: 4 kB / 0.969 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.9693, allocations: 3.938 kB / 0.969 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.9708, allocations: 1.266 MB / 0.9703 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.9714, allocations: 390 kB / 0.9706 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.9716, allocations: 12 kB / 0.9707 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/0.9722, allocations: 19.98 kB / 0.9707 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.9723, allocations: 48.27 kB / 0.9707 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.9723, allocations: 16 kB / 0.9707 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002538/0.9749, allocations: 2.215 MB / 0.9729 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9749, allocations: 0 / 0.9729 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001139/0.976, allocations: 471.1 kB / 0.9733 GB, free: 9.723 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.001247/0.9773, allocations: 0.5375 MB / 0.9739 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.9784, allocations: 0.6038 MB / 0.9745 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9784, allocations: 0 / 0.9745 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/0.9788, allocations: 294.3 kB / 0.9747 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.9821, allocations: 0.8651 MB / 0.9756 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005457/0.9875, allocations: 4.262 MB / 0.9797 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.9887, allocations: 1.632 MB / 0.9813 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001274/0.99, allocations: 453.7 kB / 0.9818 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.9903, allocations: 139.4 kB / 0.9819 GB, free: 1 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.9903, allocations: 0 / 0.9819 GB, free: 1 MB / 0.6856 GB Notification: Performance of Templates: time 0.05733/1.048, allocations: 32.29 MB / 1.013 GB, free: 1.125 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)