Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006073/0.006073, allocations: 98.69 kB / 15.73 MB, free: 6.004 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.001095/0.001095, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4644, allocations: 80.91 MB / 0.6646 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.2356/0.7, allocations: 202 MB / 0.8619 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5309/1.231, allocations: 7.365 MB / 0.8691 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/1.233, allocations: 37.59 kB / 0.8691 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/1.236, allocations: 0.6939 MB / 0.8698 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/1.244, allocations: 2.4 MB / 0.8721 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/1.248, allocations: 1.232 MB / 0.8733 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006439/1.255, allocations: 2.911 MB / 0.8762 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/1.257, allocations: 0.9525 MB / 0.8771 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/1.26, allocations: 1.019 MB / 0.8781 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/1.264, allocations: 0.9654 MB / 0.879 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003571/1.264, allocations: 110.2 kB / 0.8791 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007487/1.272, allocations: 2.134 MB / 0.8812 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007757/1.272, allocations: 449.2 kB / 0.8816 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/1.274, allocations: 0.6671 MB / 0.8823 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/1.28, allocations: 2.411 MB / 0.8846 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.28, allocations: 1.656 kB / 0.8846 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/1.28, allocations: 0 / 0.8846 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.175e-05/1.28, allocations: 1.25 kB / 0.8846 GB, free: 1.59 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004065/1.285, allocations: 1.665 MB / 0.8863 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.285, allocations: 9.562 kB / 0.8863 GB, free: 16.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/1.287, allocations: 384.2 kB / 0.8866 GB, free: 16.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.289, allocations: 0.848 MB / 0.8875 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/1.289, allocations: 67.19 kB / 0.8875 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/1.289, allocations: 88.48 kB / 0.8876 GB, free: 16.33 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/1.291, allocations: 1.044 MB / 0.8886 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/1.291, allocations: 2.688 kB / 0.8886 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/1.291, allocations: 40.28 kB / 0.8887 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/1.291, allocations: 41.91 kB / 0.8887 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/1.293, allocations: 0.8803 MB / 0.8896 GB, free: 16.18 MB / 0.7012 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.007012/1.3, allocations: 4.295 MB / 0.8938 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.301, allocations: 0.6915 MB / 0.8945 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009168/1.302, allocations: 461.6 kB / 0.8949 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008104/1.303, allocations: 0.6765 MB / 0.8956 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.303, allocations: 45.39 kB / 0.8956 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/1.303, allocations: 0 / 0.8956 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.002374/1.306, allocations: 0.9969 MB / 0.8966 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/1.306, allocations: 60.44 kB / 0.8966 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009954/1.307, allocations: 0.6331 MB / 0.8972 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/1.307, allocations: 40.39 kB / 0.8973 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/1.307, allocations: 439.2 kB / 0.8977 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/1.307, allocations: 257.6 kB / 0.898 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/1.308, allocations: 124.4 kB / 0.8981 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.308, allocations: 390.6 kB / 0.8984 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/1.308, allocations: 267.2 kB / 0.8987 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/1.309, allocations: 370.4 kB / 0.8991 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/1.31, allocations: 0.6615 MB / 0.8997 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.31, allocations: 0.9062 kB / 0.8997 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001291/1.311, allocations: 0.7949 MB / 0.9005 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.311, allocations: 6.688 kB / 0.9005 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.311, allocations: 0 / 0.9005 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.311, allocations: 5.625 kB / 0.9005 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/1.312, allocations: 148.3 kB / 0.9006 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.312, allocations: 3.594 kB / 0.9006 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/1.313, allocations: 59.14 kB / 0.9007 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/1.313, allocations: 21.34 kB / 0.9007 GB, free: 11.62 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0004884/1.314, allocations: 298.2 kB / 0.901 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.314, allocations: 93.19 kB / 0.9011 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/1.315, allocations: 0.7859 MB / 0.9018 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.315, allocations: 10.72 kB / 0.9019 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.315, allocations: 0.8438 kB / 0.9019 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/1.316, allocations: 0.8094 MB / 0.9026 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/1.319, allocations: 1.846 MB / 0.9045 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.319, allocations: 1.203 kB / 0.9045 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/1.32, allocations: 166.2 kB / 0.9046 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.32, allocations: 3.562 kB / 0.9046 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/1.32, allocations: 19.38 kB / 0.9046 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.32, allocations: 5.969 kB / 0.9046 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.32, allocations: 7.875 kB / 0.9046 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.322, allocations: 1.275 MB / 0.9059 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/1.322, allocations: 251.1 kB / 0.9061 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.323, allocations: 20.75 kB / 0.9062 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/1.323, allocations: 20.25 kB / 0.9062 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.323, allocations: 43.52 kB / 0.9062 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/1.324, allocations: 25.89 kB / 0.9062 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006455/1.324, allocations: 453.2 kB / 0.9067 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/1.324, allocations: 0.8438 kB / 0.9067 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001284/1.325, allocations: 339.6 kB / 0.907 GB, free: 10.32 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.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 (70): * Single equations (assignments): 70 * 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.0004604/1.326, allocations: 204.9 kB / 0.9072 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.327, allocations: 0.6781 MB / 0.9079 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.327, allocations: 3.281 kB / 0.9079 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/1.328, allocations: 374.8 kB / 0.9082 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/1.331, allocations: 0.5423 MB / 0.9087 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/1.335, allocations: 2.158 MB / 0.9108 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/1.336, allocations: 1.084 MB / 0.9119 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001259/1.338, allocations: 226.4 kB / 0.9121 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.338, allocations: 75.42 kB / 0.9122 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of SimCode: time 1.002e-06/1.338, allocations: 0 / 0.9122 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of Templates: time 0.0397/1.378, allocations: 18.51 MB / 0.9303 GB, free: 4.457 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)