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.0008426/0.0008426, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.229/1.229, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6338/0.6338, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002722, allocations: 8 kB / 495.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1199, allocations: 77.54 MB / 0.56 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.3966/0.5166, allocations: 197.1 MB / 0.7525 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00947/0.5261, allocations: 7.409 MB / 0.7597 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.5271, allocations: 27.81 kB / 0.7597 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.5286, allocations: 0.6064 MB / 0.7603 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.5335, allocations: 2.257 MB / 0.7625 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.536, allocations: 1.129 MB / 0.7636 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.5401, allocations: 4.17 MB / 0.7677 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.5413, allocations: 0.7702 MB / 0.7685 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.5428, allocations: 0.848 MB / 0.7693 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.5448, allocations: 0.9699 MB / 0.7702 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.545, allocations: 48 kB / 0.7703 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004088/0.5491, allocations: 2.482 MB / 0.7727 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005059/0.5497, allocations: 378.7 kB / 0.7731 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009489/0.5506, allocations: 0.612 MB / 0.7737 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.5541, allocations: 2.461 MB / 0.7761 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5541, allocations: 0 / 0.7761 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5541, allocations: 0 / 0.7761 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.437e-05/0.5542, allocations: 4 kB / 0.7761 GB, free: 9.344 MB / 0.5919 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.002917/0.5571, allocations: 1.415 MB / 0.7775 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5571, allocations: 12.03 kB / 0.7775 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.5573, allocations: 135.3 kB / 0.7776 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.5597, allocations: 378.2 kB / 0.778 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5608, allocations: 0.8084 MB / 0.7787 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.5608, allocations: 69.94 kB / 0.7788 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.561, allocations: 84 kB / 0.7789 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.5625, allocations: 1.046 MB / 0.7799 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5625, allocations: 7.984 kB / 0.7799 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.5626, allocations: 32 kB / 0.78 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.072e-05/0.5627, allocations: 45.98 kB / 0.78 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5641, allocations: 0.8822 MB / 0.7809 GB, free: 4.309 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.004147/0.5683, allocations: 4.295 MB / 0.7851 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.5693, allocations: 0.7061 MB / 0.7857 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006977/0.57, allocations: 447 kB / 0.7862 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005474/0.5706, allocations: 0.6771 MB / 0.7868 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5706, allocations: 43.11 kB / 0.7869 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 1.693e-06/0.5707, allocations: 0 / 0.7869 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001664/0.5723, allocations: 1.005 MB / 0.7879 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.5724, allocations: 59.95 kB / 0.7879 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.573, allocations: 0.6334 MB / 0.7885 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.5731, allocations: 37.7 kB / 0.7886 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.5734, allocations: 432.1 kB / 0.789 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.5736, allocations: 248.3 kB / 0.7892 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.5737, allocations: 65.69 kB / 0.7893 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5738, allocations: 394.7 kB / 0.7897 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.5743, allocations: 273.2 kB / 0.7899 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.5747, allocations: 361.1 kB / 0.7903 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.5757, allocations: 0.6704 MB / 0.7909 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5757, allocations: 0 / 0.7909 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001173/0.5769, allocations: 0.7969 MB / 0.7917 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5769, allocations: 4 kB / 0.7917 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5769, allocations: 0 / 0.7917 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.577, allocations: 8 kB / 0.7917 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.5775, allocations: 144 kB / 0.7918 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5776, allocations: 7.984 kB / 0.7918 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.5784, allocations: 119.3 kB / 0.792 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.5785, allocations: 20 kB / 0.792 GB, free: 8.281 MB / 0.6075 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.0003387/0.5788, allocations: 285.6 kB / 0.7922 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.5789, allocations: 90.91 kB / 0.7923 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5802, allocations: 0.8005 MB / 0.7931 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.5803, allocations: 8 kB / 0.7931 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5803, allocations: 0 / 0.7931 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/0.5813, allocations: 0.8269 MB / 0.7939 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.5836, allocations: 1.848 MB / 0.7957 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5837, allocations: 0 / 0.7957 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.5844, allocations: 171.7 kB / 0.7959 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5844, allocations: 4 kB / 0.7959 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.5845, allocations: 20 kB / 0.7959 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.5845, allocations: 8 kB / 0.7959 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5845, allocations: 0 / 0.7959 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.5861, allocations: 1.201 MB / 0.7971 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002977/0.5864, allocations: 247.9 kB / 0.7973 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.603e-05/0.5865, allocations: 12 kB / 0.7974 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.5872, allocations: 81.31 kB / 0.7974 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5873, allocations: 40.5 kB / 0.7975 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.5874, allocations: 27.92 kB / 0.7975 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004857/0.5879, allocations: 455 kB / 0.7979 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.372e-06/0.5879, allocations: 0 / 0.7979 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007069/0.5886, allocations: 343.2 kB / 0.7983 GB, free: 1.695 MB / 0.6075 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.00197/0.5906, allocations: 1.843 MB / 0.8001 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009961/0.5916, allocations: 0.6796 MB / 0.8007 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5916, allocations: 0 / 0.8007 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.5921, allocations: 375 kB / 0.8011 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.5944, allocations: 0.5173 MB / 0.8016 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.6039, allocations: 7.719 MB / 0.8091 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.6045, allocations: 1.092 MB / 0.8102 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008259/0.6053, allocations: 231.5 kB / 0.8104 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.6058, allocations: 359.3 kB / 0.8108 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.6058, allocations: 0 / 0.8108 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.8444, allocations: 23.9 MB / 0.8341 GB, free: 231.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.8446, allocations: 205 kB / 0.8343 GB, free: 231.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.965, allocations: 2.906 kB / 0.8343 GB, free: 231.7 MB / 0.6387 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)