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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 102.8 kB / 16.4 MB, free: 6.492 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.001436/0.001436, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7473/0.7473, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.52 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 76.18 MB / 0.6316 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5696/0.7177, allocations: 201.9 MB / 0.8288 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.7285, allocations: 7.389 MB / 0.836 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.7306, allocations: 36.66 kB / 0.836 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.733, allocations: 0.6911 MB / 0.8367 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008721/0.7417, allocations: 2.408 MB / 0.8391 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.7467, allocations: 1.245 MB / 0.8403 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005358/0.7521, allocations: 2.913 MB / 0.8431 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.7538, allocations: 0.9468 MB / 0.8441 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.7561, allocations: 1.041 MB / 0.8451 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.7584, allocations: 0.9617 MB / 0.846 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.7588, allocations: 110.2 kB / 0.8461 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.7632, allocations: 2.127 MB / 0.8482 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.7639, allocations: 446.6 kB / 0.8486 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.7653, allocations: 0.6695 MB / 0.8493 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.7702, allocations: 2.405 MB / 0.8516 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7702, allocations: 0 / 0.8516 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7702, allocations: 3.938 kB / 0.8516 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.184e-05/0.7703, allocations: 0 / 0.8516 GB, free: 11 MB / 0.6075 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.005101/0.7754, allocations: 1.625 MB / 0.8532 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7755, allocations: 8.031 kB / 0.8532 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.7757, allocations: 141.8 kB / 0.8534 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.7784, allocations: 373.5 kB / 0.8537 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.7802, allocations: 0.8587 MB / 0.8545 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.7802, allocations: 66 kB / 0.8546 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7804, allocations: 89.94 kB / 0.8547 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7822, allocations: 1.041 MB / 0.8557 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.7822, allocations: 0 / 0.8557 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.334e-05/0.7823, allocations: 36 kB / 0.8557 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.7824, allocations: 45.92 kB / 0.8558 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.784, allocations: 0.8783 MB / 0.8566 GB, free: 5.805 MB / 0.6075 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.005403/0.7894, allocations: 4.296 MB / 0.8608 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.7905, allocations: 0.6894 MB / 0.8615 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.7913, allocations: 466.1 kB / 0.862 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/0.7919, allocations: 0.6732 MB / 0.8626 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.792, allocations: 43.12 kB / 0.8627 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.344e-06/0.792, allocations: 0 / 0.8627 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001881/0.7939, allocations: 0.9976 MB / 0.8636 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.7939, allocations: 63.97 kB / 0.8637 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/0.7947, allocations: 0.6334 MB / 0.8643 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/0.7948, allocations: 41.7 kB / 0.8644 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.7951, allocations: 428.1 kB / 0.8648 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.7953, allocations: 253.9 kB / 0.865 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.7955, allocations: 114.2 kB / 0.8651 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7957, allocations: 394.7 kB / 0.8655 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.7962, allocations: 273.2 kB / 0.8658 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.7967, allocations: 361.1 kB / 0.8661 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.7977, allocations: 0.6626 MB / 0.8667 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7977, allocations: 0 / 0.8667 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001324/0.799, allocations: 0.793 MB / 0.8675 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.7991, allocations: 6.062 kB / 0.8675 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7991, allocations: 8 kB / 0.8675 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.7991, allocations: 4 kB / 0.8675 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.7998, allocations: 139.8 kB / 0.8677 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.7998, allocations: 11.92 kB / 0.8677 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.8006, allocations: 47.53 kB / 0.8677 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.8007, allocations: 27.94 kB / 0.8678 GB, free: 9.855 MB / 0.6231 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.0004477/0.8011, allocations: 285.6 kB / 0.868 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8014, allocations: 94.91 kB / 0.8681 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.8028, allocations: 0.7893 MB / 0.8689 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.8028, allocations: 8 kB / 0.8689 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8028, allocations: 0 / 0.8689 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/0.804, allocations: 0.8269 MB / 0.8697 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.8071, allocations: 1.853 MB / 0.8715 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.8071, allocations: 3.938 kB / 0.8715 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.808, allocations: 163.8 kB / 0.8717 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.808, allocations: 7.984 kB / 0.8717 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.8081, allocations: 16 kB / 0.8717 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.8081, allocations: 5.125 kB / 0.8717 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8081, allocations: 4 kB / 0.8717 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.8099, allocations: 1.191 MB / 0.8729 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/0.8104, allocations: 251.8 kB / 0.8731 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.8106, allocations: 16 kB / 0.8731 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.8113, allocations: 19.98 kB / 0.8731 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.8114, allocations: 40.5 kB / 0.8732 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.8115, allocations: 28.88 kB / 0.8732 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005912/0.8121, allocations: 455 kB / 0.8736 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8121, allocations: 0 / 0.8736 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001037/0.8131, allocations: 339.2 kB / 0.874 GB, free: 3.348 MB / 0.6231 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.002365/0.8155, allocations: 1.834 MB / 0.8758 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.8168, allocations: 0.6757 MB / 0.8764 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8168, allocations: 0 / 0.8764 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.8174, allocations: 375.3 kB / 0.8768 GB, free: 468 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/0.8204, allocations: 0.5508 MB / 0.8773 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.8306, allocations: 6.944 MB / 0.8841 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.8313, allocations: 1.092 MB / 0.8852 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009093/0.8322, allocations: 223.2 kB / 0.8854 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.8327, allocations: 359.2 kB / 0.8857 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.8327, allocations: 0 / 0.8857 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06151/0.8942, allocations: 25.7 MB / 0.9108 GB, free: 13.74 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.923/9.818, allocations: 0 / 0.9108 GB, free: 13.74 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)