Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006285/0.006286, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.001196/0.001196, allocations: 194.5 kB / 16.68 MB, free: 5.953 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00322/0.00322, allocations: 283 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 99.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2254, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.753/0.9784, allocations: 213.6 MB / 0.975 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0164/0.9949, allocations: 10.2 MB / 0.985 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.9977, allocations: 39.81 kB / 0.985 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002889/1.001, allocations: 0.8391 MB / 0.9858 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/1.011, allocations: 2.89 MB / 0.9886 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/1.016, allocations: 1.428 MB / 0.99 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006067/1.022, allocations: 3.155 MB / 0.9931 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/1.024, allocations: 1.024 MB / 0.9941 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/1.027, allocations: 1.148 MB / 0.9952 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/1.03, allocations: 1.08 MB / 0.9963 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/1.03, allocations: 123.9 kB / 0.9964 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006976/1.037, allocations: 2.732 MB / 0.9991 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007227/1.038, allocations: 494.7 kB / 0.9995 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.039, allocations: 0.7273 MB / 1 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/1.046, allocations: 2.813 MB / 1.003 GB, free: 244 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.046, allocations: 0 / 1.003 GB, free: 244 kB / 0.7481 GB Notification: Performance of FrontEnd: time 3.888e-06/1.046, allocations: 4 kB / 1.003 GB, free: 240 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.869e-05/1.046, allocations: 0 / 1.003 GB, free: 240 kB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004668/1.051, allocations: 1.792 MB / 1.005 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/1.051, allocations: 8.031 kB / 1.005 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/1.054, allocations: 434 kB / 1.005 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/1.055, allocations: 0.8901 MB / 1.006 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/1.055, allocations: 77.98 kB / 1.006 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/1.055, allocations: 99.94 kB / 1.006 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/1.058, allocations: 1.194 MB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/1.058, allocations: 4 kB / 1.007 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.058, allocations: 36 kB / 1.007 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/1.058, allocations: 57.98 kB / 1.007 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.06, allocations: 1.066 MB / 1.009 GB, free: 10.45 MB / 0.7637 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.005778/1.065, allocations: 4.758 MB / 1.013 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/1.067, allocations: 0.9841 MB / 1.014 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/1.068, allocations: 0.5986 MB / 1.015 GB, free: 3.672 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006377/1.069, allocations: 0.6733 MB / 1.015 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/1.069, allocations: 44.91 kB / 1.015 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/1.069, allocations: 4 kB / 1.015 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83): time 0.005115/1.074, allocations: 2.292 MB / 1.018 GB, free: 464 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.074, allocations: 68.34 kB / 1.018 GB, free: 384 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/1.075, allocations: 0.6373 MB / 1.018 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/1.075, allocations: 41.7 kB / 1.018 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.075, allocations: 464 kB / 1.019 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000835/1.076, allocations: 299.6 kB / 1.019 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/1.077, allocations: 134.6 kB / 1.019 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.077, allocations: 394.7 kB / 1.02 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/1.078, allocations: 321.8 kB / 1.02 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/1.079, allocations: 426.5 kB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/1.08, allocations: 0.7807 MB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.08, allocations: 0 / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001588/1.081, allocations: 0.9463 MB / 1.022 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.081, allocations: 4.25 kB / 1.022 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.081, allocations: 8 kB / 1.022 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/1.082, allocations: 60.77 kB / 1.022 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/1.082, allocations: 155.8 kB / 1.022 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005476/1.083, allocations: 0.6039 MB / 1.023 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/1.084, allocations: 28.05 kB / 1.023 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/1.084, allocations: 24 kB / 1.023 GB, free: 10.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005575/1.084, allocations: 313.8 kB / 1.023 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/1.085, allocations: 90.97 kB / 1.023 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.086, allocations: 0.9261 MB / 1.024 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/1.086, allocations: 8 kB / 1.024 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.086, allocations: 0 / 1.024 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002012/1.088, allocations: 0.9387 MB / 1.025 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/1.092, allocations: 2.121 MB / 1.027 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/1.092, allocations: 0 / 1.027 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.093, allocations: 195.7 kB / 1.027 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.767e-05/1.093, allocations: 4 kB / 1.027 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/1.093, allocations: 19.94 kB / 1.027 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.158e-06/1.093, allocations: 4 kB / 1.027 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.093, allocations: 0 / 1.027 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/1.095, allocations: 1.384 MB / 1.029 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/1.096, allocations: 252 kB / 1.029 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/1.096, allocations: 19.94 kB / 1.029 GB, free: 4.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/1.097, allocations: 30.05 kB / 1.029 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.097, allocations: 48.94 kB / 1.029 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/1.097, allocations: 23.98 kB / 1.029 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006664/1.098, allocations: 455 kB / 1.03 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.03 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001082/1.099, allocations: 327.9 kB / 1.03 GB, free: 3.695 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0004551/1.099, allocations: 205.4 kB / 1.03 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001543/1.101, allocations: 0.8168 MB / 1.031 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.101, allocations: 3.984 kB / 1.031 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.103, allocations: 441.6 kB / 1.031 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.106, allocations: 0.5884 MB / 1.032 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/1.11, allocations: 2.279 MB / 1.034 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009848/1.111, allocations: 1.128 MB / 1.035 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001107/1.112, allocations: 251.8 kB / 1.035 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/1.113, allocations: 79.42 kB / 1.035 GB, free: 13.87 MB / 0.795 GB Notification: Performance of SimCode: time 9.82e-07/1.113, allocations: 4 kB / 1.035 GB, free: 13.87 MB / 0.795 GB Notification: Performance of Templates: time 0.04111/1.154, allocations: 20.67 MB / 1.056 GB, free: 9.496 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)