Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 181.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7052/0.7052, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 403.4 MB, free: 7.062 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 112.9 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000977/0.000977, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1209, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.4494/0.5703, allocations: 199.7 MB / 0.8352 GB, free: 11.34 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.5803, allocations: 7.473 MB / 0.8425 GB, free: 3.852 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.5815, allocations: 35.81 kB / 0.8426 GB, free: 3.816 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.5831, allocations: 0.5986 MB / 0.8431 GB, free: 3.215 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.5883, allocations: 2.262 MB / 0.8453 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.5909, allocations: 1.118 MB / 0.8464 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.595, allocations: 4.179 MB / 0.8505 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.5961, allocations: 0.8053 MB / 0.8513 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.5975, allocations: 0.8908 MB / 0.8522 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.5996, allocations: 1.002 MB / 0.8532 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.5998, allocations: 60 kB / 0.8532 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.604, allocations: 2.49 MB / 0.8556 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.6044, allocations: 398.8 kB / 0.856 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0007298/0.6052, allocations: 0.6181 MB / 0.8566 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.6086, allocations: 2.501 MB / 0.8591 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6086, allocations: 0 / 0.8591 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6086, allocations: 0 / 0.8591 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6086, allocations: 0 / 0.8591 GB, free: 2.84 MB / 0.5886 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.002946/0.6116, allocations: 1.628 MB / 0.8607 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.6116, allocations: 12.02 kB / 0.8607 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/0.6139, allocations: 370.3 kB / 0.861 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6152, allocations: 0.8123 MB / 0.8618 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.6153, allocations: 65.91 kB / 0.8619 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6154, allocations: 91.89 kB / 0.862 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.617, allocations: 1.042 MB / 0.863 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.617, allocations: 0 / 0.863 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.6171, allocations: 36 kB / 0.863 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.6172, allocations: 49.86 kB / 0.8631 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.6186, allocations: 0.8822 MB / 0.8639 GB, free: 13.73 MB / 0.6042 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.004431/0.623, allocations: 4.268 MB / 0.8681 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009772/0.624, allocations: 0.6745 MB / 0.8688 GB, free: 8.426 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.6247, allocations: 452.2 kB / 0.8692 GB, free: 7.984 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.6253, allocations: 0.681 MB / 0.8698 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6253, allocations: 43.06 kB / 0.8699 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.325e-06/0.6253, allocations: 0 / 0.8699 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001774/0.6271, allocations: 0.9901 MB / 0.8709 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6272, allocations: 59.97 kB / 0.8709 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/0.6279, allocations: 0.6372 MB / 0.8715 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.322e-05/0.6279, allocations: 41.7 kB / 0.8716 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.6282, allocations: 428 kB / 0.872 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6284, allocations: 256.3 kB / 0.8722 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.6286, allocations: 114.3 kB / 0.8723 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6287, allocations: 386.7 kB / 0.8727 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.6291, allocations: 281.2 kB / 0.873 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.6297, allocations: 366.7 kB / 0.8733 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009237/0.6306, allocations: 0.6665 MB / 0.874 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6306, allocations: 0 / 0.874 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001181/0.6318, allocations: 0.793 MB / 0.8747 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6318, allocations: 8.781 kB / 0.8748 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6318, allocations: 0 / 0.8748 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6319, allocations: 4 kB / 0.8748 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.6325, allocations: 147.8 kB / 0.8749 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6325, allocations: 7.938 kB / 0.8749 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.6334, allocations: 103.4 kB / 0.875 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.6335, allocations: 24 kB / 0.875 GB, free: 1.727 MB / 0.6042 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.0004188/0.6339, allocations: 293.5 kB / 0.8753 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.6341, allocations: 79.06 kB / 0.8754 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.6354, allocations: 0.7936 MB / 0.8762 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.6354, allocations: 11.94 kB / 0.8762 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6354, allocations: 0 / 0.8762 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.6365, allocations: 0.8075 MB / 0.877 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.639, allocations: 1.848 MB / 0.8788 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.639, allocations: 0 / 0.8788 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.6398, allocations: 171.8 kB / 0.8789 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.6398, allocations: 7.938 kB / 0.8789 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.6399, allocations: 19.98 kB / 0.879 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6399, allocations: 4 kB / 0.879 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6399, allocations: 0 / 0.879 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.6521, allocations: 6.992 MB / 0.8858 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.6526, allocations: 247.9 kB / 0.886 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6527, allocations: 12 kB / 0.886 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.6535, allocations: 75.84 kB / 0.8861 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.6537, allocations: 40.5 kB / 0.8861 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.6537, allocations: 23.94 kB / 0.8862 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005664/0.6543, allocations: 459 kB / 0.8866 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6543, allocations: 0 / 0.8866 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001615/0.6559, allocations: 0.5186 MB / 0.8871 GB, free: 5.031 MB / 0.6198 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.0004141/0.6564, allocations: 229.8 kB / 0.8873 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.6575, allocations: 0.6718 MB / 0.888 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6576, allocations: 4 kB / 0.888 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.6581, allocations: 367 kB / 0.8883 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.6606, allocations: 0.5314 MB / 0.8889 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.6647, allocations: 2.967 MB / 0.8918 GB, free: 240 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.6655, allocations: 1.108 MB / 0.8928 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001132/0.6666, allocations: 243.2 kB / 0.8931 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.667, allocations: 83.42 kB / 0.8932 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.667, allocations: 4 kB / 0.8932 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.03155/0.6985, allocations: 20.89 MB / 0.9136 GB, free: 10.09 MB / 0.6511 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)