Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors",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: 91.69 kB / 15.06 MB, free: 1.098 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.001536/0.001536, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.188/1.188, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 16 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 83.41 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.5509/0.724, allocations: 199.1 MB / 0.792 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02425/0.7483, allocations: 19.12 MB / 0.8107 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.7507, allocations: 43.75 kB / 0.8107 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.7532, allocations: 0.8193 MB / 0.8115 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008624/0.7619, allocations: 3.029 MB / 0.8145 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.7653, allocations: 1.075 MB / 0.8155 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.7753, allocations: 8.037 MB / 0.8234 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004118/0.7795, allocations: 1.72 MB / 0.825 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/0.784, allocations: 2.005 MB / 0.827 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005409/0.7894, allocations: 2.398 MB / 0.8293 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.7908, allocations: 164 kB / 0.8295 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007847/0.7987, allocations: 1.723 MB / 0.8312 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.8017, allocations: 1.262 MB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.8045, allocations: 0.6329 MB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008483/0.813, allocations: 4.165 MB / 0.8371 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.813, allocations: 4 kB / 0.8371 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.813, allocations: 0 / 0.8371 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000258/0.8133, allocations: 0 / 0.8371 GB, free: 6.555 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01372/0.827, allocations: 3.499 MB / 0.8405 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.8271, allocations: 8.031 kB / 0.8405 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001711/0.8288, allocations: 383.8 kB / 0.8409 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006016/0.8349, allocations: 0.8392 MB / 0.8417 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006024/0.8409, allocations: 1.829 MB / 0.8435 GB, free: 15.87 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.8413, allocations: 205.3 kB / 0.8437 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/0.8424, allocations: 275.8 kB / 0.844 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009697/0.8521, allocations: 3.255 MB / 0.8471 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.8523, allocations: 3.984 kB / 0.8471 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007089/0.853, allocations: 112 kB / 0.8473 GB, free: 11.99 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.8532, allocations: 125.4 kB / 0.8474 GB, free: 11.87 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.8647, allocations: 4.608 MB / 0.8519 GB, free: 7.246 MB / 0.67 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.7122/1.577, allocations: 10.9 MB / 0.8625 GB, free: 107.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/1.584, allocations: 4.833 MB / 0.8672 GB, free: 107.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/1.587, allocations: 2.515 MB / 0.8697 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.588, allocations: 0.8723 MB / 0.8705 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.69e-05/1.588, allocations: 80.47 kB / 0.8706 GB, free: 106.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 7.484e-06/1.589, allocations: 3.797 kB / 0.8706 GB, free: 106.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.01046/1.599, allocations: 6.004 MB / 0.8765 GB, free: 106 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/1.599, allocations: 96.11 kB / 0.8766 GB, free: 105.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/1.601, allocations: 1.219 MB / 0.8778 GB, free: 105.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/1.602, allocations: 91.58 kB / 0.8779 GB, free: 105.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/1.603, allocations: 0.8115 MB / 0.8787 GB, free: 105.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.604, allocations: 1.334 MB / 0.88 GB, free: 104.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/1.604, allocations: 66.94 kB / 0.88 GB, free: 104.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.604, allocations: 442.5 kB / 0.8804 GB, free: 104.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/1.608, allocations: 1.593 MB / 0.882 GB, free: 104.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/1.611, allocations: 1.891 MB / 0.8838 GB, free: 104.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/1.615, allocations: 1.889 MB / 0.8857 GB, free: 104.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-05/1.615, allocations: 5.625 kB / 0.8857 GB, free: 104.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00916/1.625, allocations: 4.165 MB / 0.8898 GB, free: 103.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/1.625, allocations: 6.812 kB / 0.8898 GB, free: 103.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.625, allocations: 6.578 kB / 0.8898 GB, free: 103.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.406e-05/1.625, allocations: 16.69 kB / 0.8898 GB, free: 103.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003293/1.628, allocations: 0.6907 MB / 0.8905 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.31e-05/1.628, allocations: 17.83 kB / 0.8905 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/1.632, allocations: 412.8 kB / 0.8909 GB, free: 103.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.632, allocations: 108.8 kB / 0.891 GB, free: 103.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001936/1.634, allocations: 0.7302 MB / 0.8917 GB, free: 103.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/1.635, allocations: 236.6 kB / 0.8919 GB, free: 103.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008312/1.643, allocations: 4.63 MB / 0.8964 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.314e-05/1.643, allocations: 41.34 kB / 0.8965 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.643, allocations: 2 kB / 0.8965 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006119/1.649, allocations: 3.942 MB / 0.9003 GB, free: 103 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.663, allocations: 8.29 MB / 0.9084 GB, free: 102.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.663, allocations: 0 / 0.9084 GB, free: 102.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/1.666, allocations: 0.6615 MB / 0.9091 GB, free: 102.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/1.666, allocations: 136.4 kB / 0.9092 GB, free: 102.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/1.667, allocations: 85.86 kB / 0.9093 GB, free: 102.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.67, allocations: 4.518 MB / 0.9137 GB, free: 98.39 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.67, allocations: 3.953 kB / 0.9137 GB, free: 98.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009205/1.679, allocations: 6.783 MB / 0.9203 GB, free: 97.97 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/1.68, allocations: 0.7745 MB / 0.9211 GB, free: 97.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/1.681, allocations: 66.34 kB / 0.9211 GB, free: 97.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.683, allocations: 217.5 kB / 0.9214 GB, free: 97.58 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003445/1.683, allocations: 226.3 kB / 0.9216 GB, free: 97.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/1.683, allocations: 110.4 kB / 0.9217 GB, free: 97.39 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001087/1.684, allocations: 0.848 MB / 0.9225 GB, free: 96.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/1.684, allocations: 0 / 0.9225 GB, free: 96.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002648/1.687, allocations: 1.092 MB / 0.9236 GB, free: 95.94 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008935/1.696, allocations: 7.593 MB / 0.931 GB, free: 91.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005295/1.701, allocations: 4.025 MB / 0.9349 GB, free: 88.44 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.701, allocations: 0 / 0.9349 GB, free: 88.44 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003189/1.704, allocations: 2.543 MB / 0.9374 GB, free: 86.62 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/1.709, allocations: 1.037 MB / 0.9384 GB, free: 85.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.736, allocations: 19.64 MB / 0.9576 GB, free: 69.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.737, allocations: 1.949 MB / 0.9595 GB, free: 67.54 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003481/1.74, allocations: 1.215 MB / 0.9607 GB, free: 66.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/1.742, allocations: 1.095 MB / 0.9617 GB, free: 66.02 MB / 0.67 GB Notification: Performance of SimCode: time 9.81e-07/1.742, allocations: 0 / 0.9617 GB, free: 66.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08507/1.827, allocations: 66.66 MB / 1.027 GB, free: 284 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/1.827, allocations: 216.5 kB / 1.027 GB, free: 32 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.847/5.674, allocations: 0 / 1.027 GB, free: 32 kB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) Environment - environmentSimulation: