Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_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.001072/0.001072, allocations: 108 kB / 15.6 MB, free: 132 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.001147/0.001147, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9557/0.9557, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 95.8 kB / 0.5953 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.478/0.6208, allocations: 202 MB / 0.8775 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009945/0.6308, allocations: 7.373 MB / 0.8847 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.6321, allocations: 39.06 kB / 0.8847 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.6337, allocations: 0.6978 MB / 0.8854 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.6389, allocations: 2.41 MB / 0.8878 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.6417, allocations: 1.238 MB / 0.889 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.6448, allocations: 2.904 MB / 0.8918 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.6458, allocations: 0.9465 MB / 0.8927 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.6471, allocations: 1.01 MB / 0.8937 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.6486, allocations: 0.9654 MB / 0.8947 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.6488, allocations: 110.2 kB / 0.8948 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.6526, allocations: 2.129 MB / 0.8969 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.653, allocations: 456.2 kB / 0.8973 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.6537, allocations: 0.6693 MB / 0.8979 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.6567, allocations: 2.381 MB / 0.9003 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6567, allocations: 3.938 kB / 0.9003 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6567, allocations: 0 / 0.9003 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.6567, allocations: 3.984 kB / 0.9003 GB, free: 6.031 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.002894/0.6596, allocations: 1.617 MB / 0.9019 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6596, allocations: 12.03 kB / 0.9019 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.6598, allocations: 143.2 kB / 0.902 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.6622, allocations: 374.2 kB / 0.9024 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6634, allocations: 0.8084 MB / 0.9032 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.6634, allocations: 69.92 kB / 0.9032 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6636, allocations: 80 kB / 0.9033 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.6651, allocations: 1.045 MB / 0.9043 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.6652, allocations: 7.938 kB / 0.9043 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.6653, allocations: 36 kB / 0.9044 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.6653, allocations: 49.98 kB / 0.9044 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.6668, allocations: 0.8744 MB / 0.9053 GB, free: 0.7852 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.004344/0.6711, allocations: 4.335 MB / 0.9095 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6722, allocations: 0.6869 MB / 0.9102 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.673, allocations: 463.5 kB / 0.9106 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.6736, allocations: 0.6693 MB / 0.9113 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.6736, allocations: 47.11 kB / 0.9113 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 1.993e-06/0.6736, allocations: 0 / 0.9113 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001772/0.6754, allocations: 0.9977 MB / 0.9123 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.6755, allocations: 55.97 kB / 0.9123 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.6762, allocations: 0.6411 MB / 0.913 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.6762, allocations: 33.7 kB / 0.913 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.6765, allocations: 436.1 kB / 0.9134 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6767, allocations: 248.3 kB / 0.9136 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.6769, allocations: 122.2 kB / 0.9138 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.677, allocations: 390.7 kB / 0.9141 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6775, allocations: 273.2 kB / 0.9144 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.678, allocations: 365 kB / 0.9147 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.6791, allocations: 0.6509 MB / 0.9154 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6791, allocations: 8 kB / 0.9154 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001226/0.6803, allocations: 0.7866 MB / 0.9162 GB, free: 5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6803, allocations: 8 kB / 0.9162 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6803, allocations: 0 / 0.9162 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.6804, allocations: 7.984 kB / 0.9162 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.681, allocations: 151.7 kB / 0.9163 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.681, allocations: 8.188 kB / 0.9163 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.6817, allocations: 55.42 kB / 0.9164 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.6818, allocations: 20 kB / 0.9164 GB, free: 4.754 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.0003341/0.6821, allocations: 290.2 kB / 0.9167 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.6823, allocations: 83.06 kB / 0.9167 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.6836, allocations: 0.8008 MB / 0.9175 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.6836, allocations: 8 kB / 0.9175 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6836, allocations: 0 / 0.9175 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.6847, allocations: 0.8152 MB / 0.9183 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.6871, allocations: 1.858 MB / 0.9201 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6871, allocations: 4 kB / 0.9202 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007953/0.6879, allocations: 163.8 kB / 0.9203 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.6879, allocations: 4 kB / 0.9203 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.688, allocations: 16 kB / 0.9203 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.688, allocations: 4 kB / 0.9203 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.688, allocations: 3.938 kB / 0.9203 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.6897, allocations: 1.201 MB / 0.9215 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.69, allocations: 240 kB / 0.9217 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.6902, allocations: 12 kB / 0.9217 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.6908, allocations: 19.98 kB / 0.9218 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.6909, allocations: 44.5 kB / 0.9218 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.691, allocations: 25.92 kB / 0.9218 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004897/0.6914, allocations: 455 kB / 0.9223 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6915, allocations: 4 kB / 0.9223 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007179/0.6922, allocations: 335.2 kB / 0.9226 GB, free: 14.25 MB / 0.6387 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.002118/0.6943, allocations: 1.853 MB / 0.9244 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.6958, allocations: 0.8123 MB / 0.9252 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6958, allocations: 4 kB / 0.9252 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.6963, allocations: 371 kB / 0.9256 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.6987, allocations: 0.5556 MB / 0.9261 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009865/0.7085, allocations: 7.194 MB / 0.9331 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/0.7092, allocations: 1.085 MB / 0.9342 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009849/0.7102, allocations: 231.1 kB / 0.9344 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/0.7108, allocations: 363.2 kB / 0.9347 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.7108, allocations: 0 / 0.9347 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/0.7599, allocations: 25.11 MB / 0.9593 GB, free: 8.871 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.407, allocations: 7.984 kB / 0.9593 GB, free: 8.863 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)