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.0009873/0.0009875, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008556/0.008556, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 278.6 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9811/0.9811, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004165, allocations: 12.28 kB / 0.5986 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1577, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5393/0.6971, allocations: 212.9 MB / 0.8931 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02927/0.7264, allocations: 26.37 MB / 0.9188 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002007/0.7284, allocations: 23.88 kB / 0.9188 GB, free: 420 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.7312, allocations: 1.015 MB / 0.9198 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007458/0.7387, allocations: 2.952 MB / 0.9227 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.7427, allocations: 1.519 MB / 0.9242 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006513/0.7492, allocations: 5.83 MB / 0.9299 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.7511, allocations: 1.206 MB / 0.9311 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004381/0.7554, allocations: 2.05 MB / 0.9331 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.7574, allocations: 1.518 MB / 0.9345 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.7575, allocations: 72 kB / 0.9346 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.7615, allocations: 2.139 MB / 0.9367 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006994/0.7623, allocations: 0.7982 MB / 0.9375 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.7634, allocations: 1.108 MB / 0.9386 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.7672, allocations: 2.989 MB / 0.9415 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7673, allocations: 0 / 0.9415 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7673, allocations: 0 / 0.9415 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.2e-05/0.7673, allocations: 0 / 0.9415 GB, free: 9.121 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.003462/0.7708, allocations: 2.391 MB / 0.9438 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7708, allocations: 8.031 kB / 0.9438 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.7725, allocations: 440.4 kB / 0.9442 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.7743, allocations: 1.467 MB / 0.9457 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.7744, allocations: 94.53 kB / 0.9458 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.7745, allocations: 132 kB / 0.9459 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.7767, allocations: 1.596 MB / 0.9475 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.7767, allocations: 7.938 kB / 0.9475 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.339e-05/0.7768, allocations: 56 kB / 0.9475 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.7769, allocations: 89.95 kB / 0.9476 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.7785, allocations: 1.07 MB / 0.9486 GB, free: 1.504 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.006909/0.7854, allocations: 8.103 MB / 0.9566 GB, free: 8.895 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/0.7864, allocations: 0.7311 MB / 0.9573 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.7869, allocations: 308.1 kB / 0.9576 GB, free: 7.801 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.7874, allocations: 0.613 MB / 0.9582 GB, free: 7.059 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.7875, allocations: 46.61 kB / 0.9582 GB, free: 7.004 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.7875, allocations: 3.938 kB / 0.9582 GB, free: 7 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001641/0.7891, allocations: 0.9831 MB / 0.9592 GB, free: 6.008 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.7892, allocations: 162.5 kB / 0.9593 GB, free: 5.812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.7928, allocations: 3.1 MB / 0.9624 GB, free: 2.699 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.7929, allocations: 33.7 kB / 0.9624 GB, free: 2.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008047/0.7937, allocations: 1.035 MB / 0.9634 GB, free: 1.617 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7938, allocations: 177.4 kB / 0.9636 GB, free: 1.441 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.7939, allocations: 49.69 kB / 0.9636 GB, free: 1.387 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.794, allocations: 322 kB / 0.9639 GB, free: 1.066 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.7944, allocations: 229 kB / 0.9641 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.7948, allocations: 322.9 kB / 0.9644 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.7956, allocations: 0.5689 MB / 0.965 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7956, allocations: 3.938 kB / 0.965 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00118/0.7968, allocations: 0.8069 MB / 0.9658 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7968, allocations: 8 kB / 0.9658 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.7969, allocations: 0 / 0.9658 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.7969, allocations: 11.94 kB / 0.9658 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.7973, allocations: 112.1 kB / 0.9659 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7973, allocations: 4 kB / 0.9659 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.7982, allocations: 158.7 kB / 0.9661 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.7983, allocations: 23.98 kB / 0.9661 GB, free: 14.76 MB / 0.6856 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.0006735/0.7989, allocations: 0.5404 MB / 0.9666 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/0.7992, allocations: 221.2 kB / 0.9668 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.8005, allocations: 0.8043 MB / 0.9676 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.8005, allocations: 8 kB / 0.9676 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8005, allocations: 0 / 0.9676 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.8005, allocations: 7.984 kB / 0.9676 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.8032, allocations: 2.02 MB / 0.9696 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8032, allocations: 4 kB / 0.9696 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.8037, allocations: 107.8 kB / 0.9697 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.8037, allocations: 0 / 0.9697 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.8037, allocations: 16.19 kB / 0.9697 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.8037, allocations: 11.94 kB / 0.9697 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8037, allocations: 4 kB / 0.9697 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.8054, allocations: 1.282 MB / 0.971 GB, free: 9.609 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/0.806, allocations: 398 kB / 0.9714 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.8062, allocations: 20 kB / 0.9714 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/0.807, allocations: 75.83 kB / 0.9715 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.991e-05/0.8071, allocations: 44.42 kB / 0.9715 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.8071, allocations: 23.97 kB / 0.9715 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002467/0.8096, allocations: 2.211 MB / 0.9737 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8096, allocations: 0 / 0.9737 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001093/0.8107, allocations: 471.1 kB / 0.9741 GB, free: 6.359 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.001214/0.8119, allocations: 0.533 MB / 0.9747 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.8128, allocations: 0.5415 MB / 0.9752 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8129, allocations: 0.5 kB / 0.9752 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.8133, allocations: 302.3 kB / 0.9755 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.8173, allocations: 0.8196 MB / 0.9763 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.8231, allocations: 5.038 MB / 0.9812 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.8244, allocations: 1.643 MB / 0.9828 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001313/0.8257, allocations: 449.7 kB / 0.9832 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.826, allocations: 143.4 kB / 0.9834 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of SimCode: time 5.01e-07/0.826, allocations: 0 / 0.9834 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of Templates: time 0.05096/0.877, allocations: 30.75 MB / 1.013 GB, free: 14.58 MB / 0.7325 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)