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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8529/0.8529, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 183.1 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 106.2 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001914/0.001914, allocations: 284.6 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001389, allocations: 75.88 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.413, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.7083/1.121, allocations: 211.4 MB / 0.9743 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01529/1.137, allocations: 10.27 MB / 0.9844 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/1.139, allocations: 31.25 kB / 0.9844 GB, free: 13.28 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/1.142, allocations: 0.7319 MB / 0.9851 GB, free: 13.12 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008421/1.15, allocations: 2.685 MB / 0.9877 GB, free: 11.59 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004472/1.155, allocations: 1.313 MB / 0.989 GB, free: 10.76 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006735/1.161, allocations: 4.641 MB / 0.9935 GB, free: 8.418 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/1.163, allocations: 0.8738 MB / 0.9944 GB, free: 7.902 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/1.166, allocations: 0.9909 MB / 0.9954 GB, free: 7.445 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/1.17, allocations: 1.111 MB / 0.9965 GB, free: 6.926 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004533/1.171, allocations: 68 kB / 0.9965 GB, free: 6.926 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008156/1.179, allocations: 3.195 MB / 0.9996 GB, free: 5.445 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/1.18, allocations: 451.9 kB / 1 GB, free: 5.16 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.00279/1.183, allocations: 0.6732 MB / 1.001 GB, free: 4.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008429/1.191, allocations: 2.945 MB / 1.004 GB, free: 2.488 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.191, allocations: 0 / 1.004 GB, free: 2.488 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.152e-06/1.191, allocations: 0 / 1.004 GB, free: 2.488 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.289e-05/1.192, allocations: 0 / 1.004 GB, free: 2.488 MB / 0.573 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.005764/1.197, allocations: 1.782 MB / 1.005 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.197, allocations: 12.03 kB / 1.005 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/1.2, allocations: 435.4 kB / 1.006 GB, free: 232 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.202, allocations: 0.8362 MB / 1.007 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/1.203, allocations: 80.42 kB / 1.007 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/1.203, allocations: 92 kB / 1.007 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/1.205, allocations: 1.199 MB / 1.008 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/1.205, allocations: 0 / 1.008 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.205, allocations: 47.94 kB / 1.008 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/1.205, allocations: 53.92 kB / 1.008 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/1.208, allocations: 1.066 MB / 1.009 GB, free: 12.8 MB / 0.5886 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.006101/1.214, allocations: 4.73 MB / 1.014 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.215, allocations: 0.9978 MB / 1.015 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/1.216, allocations: 0.561 MB / 1.015 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/1.217, allocations: 0.6754 MB / 1.016 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/1.217, allocations: 47.22 kB / 1.016 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.217, allocations: 0 / 1.016 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.004579/1.221, allocations: 2.296 MB / 1.018 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.221, allocations: 64.41 kB / 1.018 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/1.222, allocations: 0.6294 MB / 1.019 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/1.222, allocations: 41.7 kB / 1.019 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/1.223, allocations: 454.2 kB / 1.019 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/1.223, allocations: 293.7 kB / 1.02 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.223, allocations: 134.6 kB / 1.02 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.223, allocations: 398.7 kB / 1.02 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/1.224, allocations: 321.8 kB / 1.02 GB, free: 0.5547 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/1.225, allocations: 436.2 kB / 1.021 GB, free: 96 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.226, allocations: 0.7846 MB / 1.022 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.226, allocations: 0 / 1.022 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001635/1.227, allocations: 0.9426 MB / 1.022 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.228, allocations: 8 kB / 1.023 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.228, allocations: 3.938 kB / 1.023 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/1.228, allocations: 60.77 kB / 1.023 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.229, allocations: 155.8 kB / 1.023 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005885/1.229, allocations: 0.6148 MB / 1.023 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.23, allocations: 87.83 kB / 1.023 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/1.23, allocations: 28 kB / 1.023 GB, free: 13.35 MB / 0.6042 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.0005872/1.231, allocations: 305.6 kB / 1.024 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/1.231, allocations: 90.91 kB / 1.024 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/1.233, allocations: 0.9222 MB / 1.025 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.233, allocations: 11.98 kB / 1.025 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/1.233, allocations: 3.984 kB / 1.025 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/1.234, allocations: 0.9232 MB / 1.026 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/1.238, allocations: 2.104 MB / 1.028 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.238, allocations: 8 kB / 1.028 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/1.239, allocations: 195.8 kB / 1.028 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.239, allocations: 0 / 1.028 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.239, allocations: 20 kB / 1.028 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/1.239, allocations: 7.938 kB / 1.028 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.239, allocations: 7.922 kB / 1.028 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.253, allocations: 7.234 MB / 1.035 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/1.253, allocations: 248 kB / 1.035 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/1.254, allocations: 16 kB / 1.035 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/1.254, allocations: 93.58 kB / 1.035 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.255, allocations: 48.92 kB / 1.035 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/1.255, allocations: 28 kB / 1.035 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005513/1.255, allocations: 447 kB / 1.036 GB, free: 396 kB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/1.255, allocations: 0 / 1.036 GB, free: 396 kB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002/1.257, allocations: 0.5079 MB / 1.036 GB, free: 15.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.0004904/1.258, allocations: 240.6 kB / 1.037 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001568/1.259, allocations: 0.8207 MB / 1.037 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.259, allocations: 0 / 1.037 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006609/1.26, allocations: 441.6 kB / 1.038 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/1.263, allocations: 0.5617 MB / 1.038 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/1.267, allocations: 3.207 MB / 1.041 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/1.268, allocations: 1.15 MB / 1.043 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001308/1.27, allocations: 271.7 kB / 1.043 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/1.27, allocations: 83.42 kB / 1.043 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of SimCode: time 8.51e-07/1.27, allocations: 8 kB / 1.043 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of Templates: time 0.0406/1.311, allocations: 23.09 MB / 1.065 GB, free: 2.223 MB / 0.6355 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)