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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.007656/0.007656, allocations: 99.31 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.001911/0.001911, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.036/1.036, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4216, allocations: 82.03 MB / 0.6751 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6911/1.113, allocations: 202.1 MB / 0.8725 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01337/1.126, allocations: 7.406 MB / 0.8797 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/1.128, allocations: 37.84 kB / 0.8798 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/1.131, allocations: 0.696 MB / 0.8804 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/1.138, allocations: 2.408 MB / 0.8828 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/1.142, allocations: 1.233 MB / 0.884 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005777/1.147, allocations: 2.909 MB / 0.8868 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/1.149, allocations: 0.9586 MB / 0.8878 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/1.152, allocations: 1.032 MB / 0.8888 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/1.155, allocations: 0.9662 MB / 0.8897 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004483/1.156, allocations: 111.3 kB / 0.8898 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/1.161, allocations: 2.127 MB / 0.8919 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008356/1.162, allocations: 448.5 kB / 0.8923 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/1.164, allocations: 0.6639 MB / 0.893 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005992/1.17, allocations: 2.488 MB / 0.8954 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.17, allocations: 0 / 0.8954 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/1.17, allocations: 0.7812 kB / 0.8954 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.964e-05/1.17, allocations: 0 / 0.8954 GB, free: 1.441 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.003956/1.174, allocations: 1.628 MB / 0.897 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.174, allocations: 10.44 kB / 0.897 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/1.174, allocations: 134.5 kB / 0.8972 GB, free: 16.58 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/1.177, allocations: 373.7 kB / 0.8975 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.178, allocations: 0.8536 MB / 0.8983 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/1.178, allocations: 65.56 kB / 0.8984 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/1.178, allocations: 84.09 kB / 0.8985 GB, free: 16.19 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.18, allocations: 1.041 MB / 0.8995 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.18, allocations: 6.75 kB / 0.8995 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/1.18, allocations: 33.31 kB / 0.8995 GB, free: 16.06 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.998e-05/1.18, allocations: 50.02 kB / 0.8996 GB, free: 16.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/1.181, allocations: 0.884 MB / 0.9005 GB, free: 16.05 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.004851/1.186, allocations: 4.294 MB / 0.9046 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/1.187, allocations: 0.6957 MB / 0.9053 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/1.188, allocations: 466.6 kB / 0.9058 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/1.189, allocations: 0.6776 MB / 0.9064 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.189, allocations: 41.47 kB / 0.9065 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/1.189, allocations: 0.6562 kB / 0.9065 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001892/1.19, allocations: 0.9936 MB / 0.9074 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.191, allocations: 59.25 kB / 0.9075 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/1.191, allocations: 0.6356 MB / 0.9081 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/1.191, allocations: 39.39 kB / 0.9082 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/1.192, allocations: 431.3 kB / 0.9086 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/1.192, allocations: 247.7 kB / 0.9088 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.192, allocations: 120.1 kB / 0.9089 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.192, allocations: 386.6 kB / 0.9093 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/1.193, allocations: 276.1 kB / 0.9095 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/1.193, allocations: 361.9 kB / 0.9099 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/1.194, allocations: 0.6587 MB / 0.9105 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.194, allocations: 11.88 kB / 0.9105 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001216/1.195, allocations: 0.7877 MB / 0.9113 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.195, allocations: 7.062 kB / 0.9113 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.195, allocations: 2.25 kB / 0.9113 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1.195, allocations: 3.844 kB / 0.9113 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/1.196, allocations: 148.1 kB / 0.9115 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.196, allocations: 5.688 kB / 0.9115 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/1.197, allocations: 55.31 kB / 0.9115 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/1.197, allocations: 22.06 kB / 0.9116 GB, free: 11.52 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.0005098/1.197, allocations: 295.2 kB / 0.9118 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.198, allocations: 84.97 kB / 0.9119 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.199, allocations: 0.7991 MB / 0.9127 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.199, allocations: 5.625 kB / 0.9127 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.199, allocations: 2.188 kB / 0.9127 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001042/1.2, allocations: 0.8123 MB / 0.9135 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/1.203, allocations: 1.859 MB / 0.9153 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.203, allocations: 3.938 kB / 0.9153 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/1.204, allocations: 168.3 kB / 0.9155 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.204, allocations: 2.562 kB / 0.9155 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/1.204, allocations: 14.88 kB / 0.9155 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/1.204, allocations: 8.031 kB / 0.9155 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.204, allocations: 0 / 0.9155 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/1.205, allocations: 1.198 MB / 0.9167 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/1.206, allocations: 245.7 kB / 0.9169 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.206, allocations: 18.53 kB / 0.9169 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/1.207, allocations: 24.41 kB / 0.9169 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.207, allocations: 47.42 kB / 0.917 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/1.207, allocations: 26.58 kB / 0.917 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000661/1.207, allocations: 452.4 kB / 0.9174 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.61e-07/1.207, allocations: 0.8438 kB / 0.9174 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001041/1.208, allocations: 333.2 kB / 0.9178 GB, free: 10.21 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.002406/1.211, allocations: 1.839 MB / 0.9196 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.212, allocations: 0.678 MB / 0.9202 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.212, allocations: 3.781 kB / 0.9202 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004602/1.212, allocations: 368.2 kB / 0.9206 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.215, allocations: 0.5548 MB / 0.9211 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.226, allocations: 6.943 MB / 0.9279 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/1.227, allocations: 1.086 MB / 0.929 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001027/1.228, allocations: 221.3 kB / 0.9292 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/1.228, allocations: 361.2 kB / 0.9295 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/1.228, allocations: 0 / 0.9295 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05433/1.283, allocations: 25.77 MB / 0.9547 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.502/10.78, allocations: 18.48 kB / 0.9547 GB, free: 7.762 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)