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.001422/0.001428, allocations: 117.8 kB / 16.37 MB, free: 6 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.001574/0.001574, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 278.4 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 98.91 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1554, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4694/0.6248, allocations: 218.2 MB / 0.8947 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.6529, allocations: 26.47 MB / 0.9205 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.6545, allocations: 27.88 kB / 0.9205 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.6568, allocations: 1.162 MB / 0.9217 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.6634, allocations: 3.144 MB / 0.9248 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.667, allocations: 1.659 MB / 0.9264 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004191/0.6712, allocations: 3.853 MB / 0.9301 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.6729, allocations: 1.446 MB / 0.9315 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003888/0.6768, allocations: 2.284 MB / 0.9338 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.6785, allocations: 1.479 MB / 0.9352 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.6787, allocations: 124 kB / 0.9353 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.682, allocations: 1.797 MB / 0.9371 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.6827, allocations: 0.8529 MB / 0.9379 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.6838, allocations: 1.15 MB / 0.939 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.687, allocations: 2.954 MB / 0.9419 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.687, allocations: 0 / 0.9419 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.687, allocations: 0 / 0.9419 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.6871, allocations: 4 kB / 0.9419 GB, free: 3.504 MB / 0.7012 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.003747/0.6908, allocations: 2.772 MB / 0.9446 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.6909, allocations: 8.031 kB / 0.9447 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.6925, allocations: 444.3 kB / 0.9451 GB, free: 228 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.6946, allocations: 1.491 MB / 0.9465 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.6947, allocations: 98.52 kB / 0.9466 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.6949, allocations: 128 kB / 0.9467 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.6969, allocations: 1.591 MB / 0.9483 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.697, allocations: 11.84 kB / 0.9483 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.6971, allocations: 59.98 kB / 0.9484 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.6972, allocations: 93.89 kB / 0.9485 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.6987, allocations: 1.054 MB / 0.9495 GB, free: 11.48 MB / 0.7169 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.006799/0.7055, allocations: 8.099 MB / 0.9574 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.7065, allocations: 0.7272 MB / 0.9581 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.7069, allocations: 308.9 kB / 0.9584 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.7074, allocations: 0.6052 MB / 0.959 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.7074, allocations: 50.48 kB / 0.959 GB, free: 1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=50): time 1.924e-06/0.7074, allocations: 4 kB / 0.959 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50): time 0.00145/0.7089, allocations: 0.9673 MB / 0.96 GB, free: 20 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2514/0.9602, allocations: 158.7 kB / 0.9601 GB, free: 250.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/0.9643, allocations: 3.096 MB / 0.9632 GB, free: 249.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.937e-05/0.9644, allocations: 36.14 kB / 0.9632 GB, free: 249.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006941/0.9651, allocations: 1.033 MB / 0.9642 GB, free: 249.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.9652, allocations: 180.1 kB / 0.9644 GB, free: 249.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.9654, allocations: 97.02 kB / 0.9645 GB, free: 249.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.9654, allocations: 328.8 kB / 0.9648 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.9658, allocations: 220.2 kB / 0.965 GB, free: 248.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.9662, allocations: 320.2 kB / 0.9653 GB, free: 248.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.967, allocations: 0.5559 MB / 0.9658 GB, free: 248.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.967, allocations: 1.938 kB / 0.9658 GB, free: 248.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00122/0.9683, allocations: 0.8046 MB / 0.9666 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.9683, allocations: 6.438 kB / 0.9666 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/0.9683, allocations: 3.344 kB / 0.9666 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.9683, allocations: 9.969 kB / 0.9666 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.9688, allocations: 103.9 kB / 0.9667 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9688, allocations: 9.703 kB / 0.9668 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.9695, allocations: 92.78 kB / 0.9668 GB, free: 248.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.9696, allocations: 23.81 kB / 0.9669 GB, free: 248.1 MB / 0.7169 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.0006454/0.9702, allocations: 0.5328 MB / 0.9674 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.9705, allocations: 224.8 kB / 0.9676 GB, free: 247.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.9718, allocations: 0.802 MB / 0.9684 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.9718, allocations: 6.781 kB / 0.9684 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9718, allocations: 1.938 kB / 0.9684 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.9718, allocations: 3.859 kB / 0.9684 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.9748, allocations: 2.016 MB / 0.9704 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9749, allocations: 2.125 kB / 0.9704 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.9753, allocations: 97.38 kB / 0.9705 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.9753, allocations: 5.562 kB / 0.9705 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.9754, allocations: 17.11 kB / 0.9705 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.9754, allocations: 4.406 kB / 0.9705 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9754, allocations: 4.562 kB / 0.9705 GB, free: 246.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.9771, allocations: 1.264 MB / 0.9717 GB, free: 245.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.9778, allocations: 391.1 kB / 0.9721 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.978, allocations: 16.88 kB / 0.9721 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.9786, allocations: 15.58 kB / 0.9721 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.64e-05/0.9787, allocations: 45.98 kB / 0.9722 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.9788, allocations: 18.34 kB / 0.9722 GB, free: 245.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002736/0.9815, allocations: 2.219 MB / 0.9744 GB, free: 244.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9815, allocations: 0 / 0.9744 GB, free: 244.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001087/0.9826, allocations: 470.8 kB / 0.9748 GB, free: 244.8 MB / 0.7169 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.001158/0.9838, allocations: 0.5259 MB / 0.9753 GB, free: 244.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009374/0.9847, allocations: 0.5384 MB / 0.9758 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9847, allocations: 1.219 kB / 0.9758 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.9852, allocations: 296.1 kB / 0.9761 GB, free: 244.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.9883, allocations: 0.8562 MB / 0.977 GB, free: 244.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.9934, allocations: 4.204 MB / 0.9811 GB, free: 242.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.9947, allocations: 1.639 MB / 0.9827 GB, free: 241.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001133/0.9958, allocations: 453 kB / 0.9831 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.9962, allocations: 143.5 kB / 0.9832 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.9962, allocations: 0 / 0.9832 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.04435/1.041, allocations: 29.95 MB / 1.012 GB, free: 224.6 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)