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.001478/0.001478, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001544/0.001544, allocations: 177.3 kB / 15.95 MB, free: 216 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.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9488/0.9488, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002865, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ClosedDoors): time 0.4118/0.5479, allocations: 179.5 MB / 0.7727 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.5712, allocations: 18.03 MB / 0.7903 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.5735, allocations: 47.69 kB / 0.7903 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003258/0.5768, allocations: 1.116 MB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009007/0.5858, allocations: 3.429 MB / 0.7948 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5899, allocations: 1.483 MB / 0.7962 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005403/0.5953, allocations: 3.959 MB / 0.8001 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.5975, allocations: 1.731 MB / 0.8018 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.6005, allocations: 1.835 MB / 0.8036 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.6026, allocations: 1.643 MB / 0.8052 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.603, allocations: 160 kB / 0.8053 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.6072, allocations: 1.689 MB / 0.807 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.6083, allocations: 1.146 MB / 0.8081 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008357/0.6092, allocations: 0.6329 MB / 0.8087 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004772/0.614, allocations: 4.024 MB / 0.8126 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.614, allocations: 7.938 kB / 0.8126 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.614, allocations: 0 / 0.8126 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.535e-05/0.6141, allocations: 0 / 0.8126 GB, free: 15.48 MB / 0.6387 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.008347/0.6224, allocations: 3.452 MB / 0.816 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.6225, allocations: 12.03 kB / 0.816 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007958/0.6233, allocations: 387.8 kB / 0.8164 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.6283, allocations: 0.8392 MB / 0.8172 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.6325, allocations: 1.802 MB / 0.819 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.6327, allocations: 201.4 kB / 0.8192 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.6333, allocations: 268 kB / 0.8194 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/0.6387, allocations: 3.247 MB / 0.8226 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.515e-05/0.6388, allocations: 3.906 kB / 0.8226 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.6391, allocations: 108 kB / 0.8227 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.6392, allocations: 125.4 kB / 0.8228 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007076/0.6463, allocations: 4.608 MB / 0.8273 GB, free: 264 kB / 0.6387 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.01595/0.6623, allocations: 10.93 MB / 0.838 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.6683, allocations: 4.849 MB / 0.8427 GB, free: 15.78 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.6695, allocations: 0.8642 MB / 0.8436 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/0.6695, allocations: 81.7 kB / 0.8436 GB, free: 14.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 5.32e-06/0.6695, allocations: 0 / 0.8436 GB, free: 14.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.01012/0.6797, allocations: 6.02 MB / 0.8495 GB, free: 8.551 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.6798, allocations: 94.55 kB / 0.8496 GB, free: 8.445 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.6816, allocations: 1.252 MB / 0.8508 GB, free: 7.188 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.6819, allocations: 93.7 kB / 0.8509 GB, free: 7.09 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.6825, allocations: 0.8135 MB / 0.8517 GB, free: 6.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.6837, allocations: 1.332 MB / 0.853 GB, free: 4.914 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.6839, allocations: 64 kB / 0.8531 GB, free: 4.852 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.6841, allocations: 449 kB / 0.8535 GB, free: 4.406 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.6867, allocations: 1.599 MB / 0.8551 GB, free: 2.805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/0.6894, allocations: 1.893 MB / 0.8569 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2418/0.9312, allocations: 1.892 MB / 0.8588 GB, free: 203.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.9313, allocations: 0 / 0.8588 GB, free: 203.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005994/0.9373, allocations: 4.175 MB / 0.8629 GB, free: 203.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.9373, allocations: 10.03 kB / 0.8629 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.9374, allocations: 6.219 kB / 0.8629 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.9374, allocations: 17.81 kB / 0.8629 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.9401, allocations: 0.6766 MB / 0.8635 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/0.9401, allocations: 17.31 kB / 0.8636 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.9429, allocations: 409.8 kB / 0.864 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.9432, allocations: 112.8 kB / 0.8641 GB, free: 203.8 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.001116/0.9443, allocations: 0.7298 MB / 0.8648 GB, free: 203.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.9447, allocations: 240.3 kB / 0.865 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/0.9511, allocations: 4.646 MB / 0.8695 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.9512, allocations: 38.75 kB / 0.8696 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.9512, allocations: 1.859 kB / 0.8696 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005039/0.9563, allocations: 3.956 MB / 0.8734 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.9603, allocations: 3.349 MB / 0.8767 GB, free: 199.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.9603, allocations: 3.5 kB / 0.8767 GB, free: 199.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/0.9631, allocations: 0.6545 MB / 0.8774 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/0.9636, allocations: 136.2 kB / 0.8775 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/0.9638, allocations: 82.14 kB / 0.8776 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.9666, allocations: 4.599 MB / 0.8821 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9666, allocations: 0.9375 kB / 0.8821 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009434/0.9761, allocations: 6.81 MB / 0.8887 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/0.978, allocations: 0.7671 MB / 0.8895 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/0.9785, allocations: 68.78 kB / 0.8895 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/0.9809, allocations: 221.3 kB / 0.8897 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004202/0.9813, allocations: 225.2 kB / 0.8899 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/0.9816, allocations: 109.6 kB / 0.89 GB, free: 191.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001207/0.9828, allocations: 0.8807 MB / 0.8909 GB, free: 191.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9828, allocations: 0 / 0.8909 GB, free: 191.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003085/0.9859, allocations: 1.093 MB / 0.892 GB, free: 191.3 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.01076/0.9967, allocations: 7.628 MB / 0.8994 GB, free: 188 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00595/1.003, allocations: 4.034 MB / 0.9034 GB, free: 186.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.003, allocations: 1.125 kB / 0.9034 GB, free: 186.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003319/1.006, allocations: 2.551 MB / 0.9059 GB, free: 185.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/1.01, allocations: 0.9733 MB / 0.9068 GB, free: 185.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.022, allocations: 11.01 MB / 0.9176 GB, free: 178.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.024, allocations: 1.987 MB / 0.9195 GB, free: 177.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003769/1.028, allocations: 1.225 MB / 0.9207 GB, free: 177.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.029, allocations: 1.092 MB / 0.9218 GB, free: 176.8 MB / 0.67 GB Notification: Performance of SimCode: time 8.41e-07/1.029, allocations: 1.406 kB / 0.9218 GB, free: 176.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08053/1.11, allocations: 66.03 MB / 0.9862 GB, free: 122.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/1.11, allocations: 218.3 kB / 0.9865 GB, free: 122.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/4.478, allocations: 0 / 0.9865 GB, free: 122.4 MB / 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: