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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005306/0.005306, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00123/0.00123, allocations: 201.4 kB / 16.68 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7298/0.7298, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.77 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1615, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5847/0.7463, allocations: 201.9 MB / 0.8569 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.7569, allocations: 7.377 MB / 0.8641 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.759, allocations: 33.03 kB / 0.8641 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.7609, allocations: 0.6925 MB / 0.8648 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006323/0.7673, allocations: 2.409 MB / 0.8671 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.7707, allocations: 1.24 MB / 0.8684 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004302/0.775, allocations: 2.903 MB / 0.8712 GB, free: 3.023 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.7763, allocations: 0.9513 MB / 0.8721 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.7781, allocations: 1.017 MB / 0.8731 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.7799, allocations: 0.9703 MB / 0.8741 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.7801, allocations: 114.5 kB / 0.8742 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005537/0.7857, allocations: 2.132 MB / 0.8762 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.7862, allocations: 446.8 kB / 0.8767 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.7872, allocations: 0.667 MB / 0.8773 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006865/0.7941, allocations: 2.411 MB / 0.8797 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7942, allocations: 6.75 kB / 0.8797 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7942, allocations: 0.75 kB / 0.8797 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.7942, allocations: 2.062 kB / 0.8797 GB, free: 2.215 MB / 0.6387 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.00298/0.7972, allocations: 1.674 MB / 0.8813 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7972, allocations: 10.19 kB / 0.8813 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.7995, allocations: 375 kB / 0.8817 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.8007, allocations: 0.8483 MB / 0.8825 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.8008, allocations: 70.86 kB / 0.8826 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.8009, allocations: 86.02 kB / 0.8827 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.8024, allocations: 1.04 MB / 0.8837 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.8024, allocations: 3.938 kB / 0.8837 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.8025, allocations: 42.52 kB / 0.8837 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.8026, allocations: 40.72 kB / 0.8838 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.804, allocations: 0.8785 MB / 0.8846 GB, free: 0.6836 MB / 0.6387 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.004315/0.8083, allocations: 4.296 MB / 0.8888 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.8093, allocations: 0.6845 MB / 0.8895 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.81, allocations: 463 kB / 0.8899 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.8106, allocations: 0.6755 MB / 0.8906 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.8107, allocations: 40.36 kB / 0.8906 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.345e-06/0.8107, allocations: 0.9375 kB / 0.8906 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001731/0.8124, allocations: 0.9993 MB / 0.8916 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8125, allocations: 57.97 kB / 0.8917 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.8132, allocations: 0.6352 MB / 0.8923 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.8132, allocations: 37.98 kB / 0.8923 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.8135, allocations: 440.3 kB / 0.8927 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.8137, allocations: 262.9 kB / 0.893 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.814, allocations: 113.4 kB / 0.8931 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8141, allocations: 392.1 kB / 0.8935 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.8146, allocations: 273.6 kB / 0.8937 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.8151, allocations: 367.9 kB / 0.8941 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.816, allocations: 0.655 MB / 0.8947 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.816, allocations: 10.28 kB / 0.8947 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001165/0.8172, allocations: 0.7973 MB / 0.8955 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8172, allocations: 6.656 kB / 0.8955 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8172, allocations: 5.812 kB / 0.8955 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.8173, allocations: 5.844 kB / 0.8955 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.8179, allocations: 142.2 kB / 0.8957 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8179, allocations: 2.812 kB / 0.8957 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.8186, allocations: 60.92 kB / 0.8957 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.8186, allocations: 22.94 kB / 0.8957 GB, free: 9.566 MB / 0.6544 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.0003929/0.819, allocations: 301.1 kB / 0.896 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.8192, allocations: 86.42 kB / 0.8961 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.8205, allocations: 0.7928 MB / 0.8969 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.8205, allocations: 7.906 kB / 0.8969 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8205, allocations: 2.797 kB / 0.8969 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.8215, allocations: 0.8076 MB / 0.8977 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.824, allocations: 1.847 MB / 0.8995 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.8241, allocations: 2.359 kB / 0.8995 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.8248, allocations: 167.8 kB / 0.8997 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.8248, allocations: 4.094 kB / 0.8997 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.8249, allocations: 17.98 kB / 0.8997 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.8249, allocations: 7.219 kB / 0.8997 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8249, allocations: 0.75 kB / 0.8997 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.8266, allocations: 1.286 MB / 0.9009 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.827, allocations: 249 kB / 0.9012 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8271, allocations: 20.5 kB / 0.9012 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/0.8277, allocations: 26.14 kB / 0.9012 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.8278, allocations: 43.78 kB / 0.9013 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.8278, allocations: 23.27 kB / 0.9013 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005208/0.8283, allocations: 458.7 kB / 0.9017 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8284, allocations: 3.188 kB / 0.9017 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007756/0.8291, allocations: 336.8 kB / 0.902 GB, free: 6.379 MB / 0.6544 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.0003251/0.8295, allocations: 201.8 kB / 0.9022 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.8306, allocations: 0.6764 MB / 0.9029 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8306, allocations: 1.25 kB / 0.9029 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.8312, allocations: 376.7 kB / 0.9033 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.8334, allocations: 0.5387 MB / 0.9038 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.8366, allocations: 2.156 MB / 0.9059 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.8373, allocations: 1.09 MB / 0.907 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007534/0.8381, allocations: 222.5 kB / 0.9072 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.8383, allocations: 71.67 kB / 0.9072 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.8383, allocations: 2.188 kB / 0.9072 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of Templates: time 0.03048/0.8688, allocations: 18.51 MB / 0.9253 GB, free: 1.672 MB / 0.67 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)