Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001462/0.001463, allocations: 110.4 kB / 17.03 MB, free: 6.094 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.001563/0.001563, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3385, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4853/0.8239, allocations: 201.9 MB / 0.7548 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01145/0.8354, allocations: 7.384 MB / 0.762 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.8374, allocations: 37.97 kB / 0.762 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.8394, allocations: 0.6952 MB / 0.7627 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006548/0.846, allocations: 2.406 MB / 0.765 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.8491, allocations: 1.237 MB / 0.7662 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.8538, allocations: 2.911 MB / 0.7691 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.8552, allocations: 0.9523 MB / 0.77 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002388/0.8576, allocations: 1.019 MB / 0.771 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.8601, allocations: 0.9624 MB / 0.7719 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.8605, allocations: 111.5 kB / 0.7721 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/0.8665, allocations: 2.13 MB / 0.7741 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006852/0.8672, allocations: 454.3 kB / 0.7746 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.8688, allocations: 0.6636 MB / 0.7752 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.8745, allocations: 2.403 MB / 0.7776 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.8745, allocations: 1.031 kB / 0.7776 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8745, allocations: 2.078 kB / 0.7776 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.462e-05/0.8745, allocations: 0 / 0.7776 GB, free: 1.434 MB / 0.5762 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.004182/0.8787, allocations: 1.624 MB / 0.7791 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.8788, allocations: 10.34 kB / 0.7792 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.8817, allocations: 376 kB / 0.7795 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.8838, allocations: 0.8464 MB / 0.7803 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.8839, allocations: 67.17 kB / 0.7804 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.884, allocations: 84.48 kB / 0.7805 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.8859, allocations: 1.049 MB / 0.7815 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.886, allocations: 4 kB / 0.7815 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.8861, allocations: 33.62 kB / 0.7815 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.481e-05/0.8861, allocations: 45.16 kB / 0.7816 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.8876, allocations: 0.882 MB / 0.7825 GB, free: 16.08 MB / 0.5919 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.005758/0.8934, allocations: 4.3 MB / 0.7867 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.8944, allocations: 0.7014 MB / 0.7873 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.8951, allocations: 453.3 kB / 0.7878 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.8958, allocations: 0.6737 MB / 0.7884 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.8958, allocations: 50.64 kB / 0.7885 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.706e-06/0.8958, allocations: 1 kB / 0.7885 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001761/0.8976, allocations: 0.9878 MB / 0.7894 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8977, allocations: 59.91 kB / 0.7895 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.8983, allocations: 0.6346 MB / 0.7901 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/0.8984, allocations: 41.17 kB / 0.7902 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.8986, allocations: 430.4 kB / 0.7906 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.8989, allocations: 250.2 kB / 0.7908 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.8991, allocations: 121.3 kB / 0.7909 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.8993, allocations: 389.2 kB / 0.7913 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.8997, allocations: 278.2 kB / 0.7916 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.9002, allocations: 353 kB / 0.7919 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008762/0.9011, allocations: 0.6668 MB / 0.7925 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.9011, allocations: 3.375 kB / 0.7925 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001205/0.9023, allocations: 0.7945 MB / 0.7933 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9023, allocations: 5.031 kB / 0.7933 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.9023, allocations: 6.469 kB / 0.7933 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.9024, allocations: 3.281 kB / 0.7933 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.903, allocations: 146.5 kB / 0.7935 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.903, allocations: 3.625 kB / 0.7935 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/0.9038, allocations: 53.02 kB / 0.7935 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.9039, allocations: 26.11 kB / 0.7936 GB, free: 11.54 MB / 0.5919 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.000442/0.9044, allocations: 294.9 kB / 0.7938 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.9045, allocations: 85.84 kB / 0.7939 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.9058, allocations: 0.7887 MB / 0.7947 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9059, allocations: 9.953 kB / 0.7947 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9059, allocations: 0 / 0.7947 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.9069, allocations: 0.8204 MB / 0.7955 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.9095, allocations: 1.852 MB / 0.7973 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9096, allocations: 1.531 kB / 0.7973 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.9103, allocations: 168.1 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.9104, allocations: 4.594 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.9104, allocations: 20.55 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.9104, allocations: 5.25 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9104, allocations: 3.484 kB / 0.7975 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.9121, allocations: 1.188 MB / 0.7987 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.9126, allocations: 243.3 kB / 0.7989 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.9127, allocations: 18.31 kB / 0.7989 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.9133, allocations: 28.98 kB / 0.7989 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.9134, allocations: 40 kB / 0.799 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.9135, allocations: 25.58 kB / 0.799 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005933/0.9141, allocations: 455.8 kB / 0.7994 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9141, allocations: 0.8438 kB / 0.7994 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008986/0.915, allocations: 342.8 kB / 0.7998 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.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 (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.000345/0.9154, allocations: 197.6 kB / 0.8 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009891/0.9164, allocations: 0.6797 MB / 0.8006 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9164, allocations: 0 / 0.8006 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.9168, allocations: 369.1 kB / 0.801 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.9189, allocations: 0.5507 MB / 0.8015 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.9221, allocations: 2.141 MB / 0.8036 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/0.9227, allocations: 1.088 MB / 0.8047 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007574/0.9235, allocations: 224.1 kB / 0.8049 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.9237, allocations: 73.33 kB / 0.8049 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.9237, allocations: 2.25 kB / 0.8049 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of Templates: time 0.02984/0.9536, allocations: 18.27 MB / 0.8228 GB, free: 15.28 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)