Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_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.005527/0.005527, 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.001184/0.001184, allocations: 201.2 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9833/0.9833, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 67.89 kB / 0.5953 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3465, allocations: 82.04 MB / 0.6754 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5645/0.9111, allocations: 202.1 MB / 0.8727 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009374/0.9205, allocations: 7.418 MB / 0.88 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.9216, allocations: 34.78 kB / 0.88 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.9233, allocations: 0.6975 MB / 0.8807 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.9286, allocations: 2.408 MB / 0.8831 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.9314, allocations: 1.235 MB / 0.8843 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004169/0.9356, allocations: 2.908 MB / 0.8871 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.937, allocations: 0.9541 MB / 0.888 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.9387, allocations: 1.019 MB / 0.889 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.9404, allocations: 0.9632 MB / 0.89 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.9406, allocations: 111.1 kB / 0.8901 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.9445, allocations: 2.123 MB / 0.8922 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.945, allocations: 455 kB / 0.8926 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007446/0.9457, allocations: 0.6623 MB / 0.8932 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.9489, allocations: 2.493 MB / 0.8957 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9489, allocations: 0 / 0.8957 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9489, allocations: 0 / 0.8957 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.949, allocations: 3.344 kB / 0.8957 GB, free: 1.445 MB / 0.6856 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.002702/0.9517, allocations: 1.662 MB / 0.8973 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.9517, allocations: 11.12 kB / 0.8973 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.9519, allocations: 136 kB / 0.8974 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.954, allocations: 384.1 kB / 0.8978 GB, free: 16.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9551, allocations: 0.8574 MB / 0.8986 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.9552, allocations: 62.06 kB / 0.8987 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.9553, allocations: 85.98 kB / 0.8988 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.9566, allocations: 1.044 MB / 0.8998 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.9567, allocations: 0 / 0.8998 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.9568, allocations: 41.75 kB / 0.8998 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.301e-05/0.9568, allocations: 42.08 kB / 0.8999 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.958, allocations: 0.8819 MB / 0.9007 GB, free: 16.01 MB / 0.7012 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.003979/0.962, allocations: 4.314 MB / 0.905 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.9629, allocations: 0.6996 MB / 0.9056 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.9636, allocations: 461.8 kB / 0.9061 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/0.9643, allocations: 0.6747 MB / 0.9067 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.9643, allocations: 44.53 kB / 0.9068 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.043e-06/0.9643, allocations: 0 / 0.9068 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001518/0.9658, allocations: 0.9961 MB / 0.9077 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9659, allocations: 59.22 kB / 0.9078 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.9665, allocations: 0.6325 MB / 0.9084 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.9665, allocations: 40.94 kB / 0.9085 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.9668, allocations: 446 kB / 0.9089 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.967, allocations: 260.4 kB / 0.9091 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.9672, allocations: 122 kB / 0.9093 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.9674, allocations: 387.3 kB / 0.9096 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.9677, allocations: 276.6 kB / 0.9099 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.9682, allocations: 354.5 kB / 0.9102 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/0.969, allocations: 0.668 MB / 0.9109 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.969, allocations: 3.938 kB / 0.9109 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001045/0.9701, allocations: 0.7941 MB / 0.9117 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9701, allocations: 7.312 kB / 0.9117 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.9701, allocations: 4.688 kB / 0.9117 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9701, allocations: 3.656 kB / 0.9117 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.9707, allocations: 145.4 kB / 0.9118 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.9707, allocations: 5.25 kB / 0.9118 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.9714, allocations: 54.25 kB / 0.9119 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.9714, allocations: 24.28 kB / 0.9119 GB, free: 11.45 MB / 0.7012 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.0003186/0.9717, allocations: 289.7 kB / 0.9122 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.9719, allocations: 86.58 kB / 0.9122 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.973, allocations: 0.797 MB / 0.913 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9731, allocations: 9.406 kB / 0.913 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.9731, allocations: 2.766 kB / 0.913 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000914/0.974, allocations: 0.8138 MB / 0.9138 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9761, allocations: 1.855 MB / 0.9156 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9762, allocations: 7.094 kB / 0.9156 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.9769, allocations: 161.8 kB / 0.9158 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9769, allocations: 5.422 kB / 0.9158 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.9769, allocations: 18.94 kB / 0.9158 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.977, allocations: 4.938 kB / 0.9158 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.977, allocations: 3.094 kB / 0.9158 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.9784, allocations: 1.198 MB / 0.917 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.9787, allocations: 252.5 kB / 0.9172 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.9788, allocations: 17.56 kB / 0.9173 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.9794, allocations: 25.81 kB / 0.9173 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.9795, allocations: 45.75 kB / 0.9173 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.9795, allocations: 21.64 kB / 0.9174 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004282/0.98, allocations: 455 kB / 0.9178 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.91e-07/0.98, allocations: 0 / 0.9178 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007032/0.9807, allocations: 345.6 kB / 0.9181 GB, free: 10.12 MB / 0.7012 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.002119/0.9828, allocations: 1.847 MB / 0.9199 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008902/0.9837, allocations: 0.6764 MB / 0.9206 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9837, allocations: 0 / 0.9206 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.9842, allocations: 368.8 kB / 0.9209 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.9863, allocations: 0.5558 MB / 0.9215 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.9946, allocations: 6.98 MB / 0.9283 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.9952, allocations: 1.087 MB / 0.9294 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007532/0.996, allocations: 225.7 kB / 0.9296 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.9964, allocations: 360.5 kB / 0.9299 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of SimCode: time 6.11e-07/0.9964, allocations: 0 / 0.9299 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6648/1.661, allocations: 25.35 MB / 0.9547 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/11.75, allocations: 14.8 kB / 0.9547 GB, free: 8.086 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)