Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.005172/0.005172, allocations: 99.47 kB / 15.73 MB, free: 5.988 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.001468/0.001468, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 1.064/1.064, allocations: 143.3 MB / 433.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 0.5953 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 82.02 MB / 0.6754 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6531/0.9932, allocations: 295.5 MB / 0.964 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02199/1.015, allocations: 17.05 MB / 0.9806 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/1.019, allocations: 82.53 kB / 0.9807 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005174/1.024, allocations: 1.892 MB / 0.9826 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01583/1.04, allocations: 6.433 MB / 0.9888 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007663/1.048, allocations: 2.947 MB / 0.9917 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009619/1.057, allocations: 7.699 MB / 0.9992 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004092/1.061, allocations: 2.592 MB / 1.002 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/1.067, allocations: 2.775 MB / 1.004 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005689/1.073, allocations: 2.708 MB / 1.007 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000981/1.074, allocations: 324 kB / 1.007 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/1.087, allocations: 6.167 MB / 1.013 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00216/1.089, allocations: 1.329 MB / 1.015 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003869/1.093, allocations: 1.885 MB / 1.017 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01557/1.109, allocations: 7.126 MB / 1.024 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.109, allocations: 4 kB / 1.024 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/1.109, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001486/1.109, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01226/1.121, allocations: 4.237 MB / 1.028 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.121, allocations: 15.97 kB / 1.028 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008363/1.122, allocations: 373.4 kB / 1.028 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007051/1.129, allocations: 0.9312 MB / 1.029 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/1.134, allocations: 1.94 MB / 1.031 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.134, allocations: 198.1 kB / 1.031 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000749/1.135, allocations: 262.5 kB / 1.031 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007435/1.142, allocations: 3.331 MB / 1.035 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/1.142, allocations: 4 kB / 1.035 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004346/1.143, allocations: 107.4 kB / 1.035 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/1.143, allocations: 141 kB / 1.035 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007155/1.15, allocations: 3.498 MB / 1.038 GB, free: 0.7695 MB / 0.7325 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.01909/1.169, allocations: 12.19 MB / 1.05 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005604/1.175, allocations: 3.505 MB / 1.054 GB, free: 228 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/1.178, allocations: 1.848 MB / 1.055 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/1.18, allocations: 1.49 MB / 1.057 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/1.18, allocations: 64.75 kB / 1.057 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.508e-06/1.18, allocations: 0 / 1.057 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007922/1.188, allocations: 3.89 MB / 1.061 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/1.188, allocations: 89.53 kB / 1.061 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/1.191, allocations: 1.379 MB / 1.062 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/1.191, allocations: 73.7 kB / 1.062 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008434/1.192, allocations: 1.005 MB / 1.063 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.193, allocations: 0.9937 MB / 1.064 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007318/1.194, allocations: 405 kB / 1.065 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.194, allocations: 305.1 kB / 1.065 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/1.196, allocations: 1.098 MB / 1.066 GB, free: 3.199 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/1.198, allocations: 1.362 MB / 1.067 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/1.203, allocations: 2.651 MB / 1.07 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.203, allocations: 0 / 1.07 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005735/1.209, allocations: 2.983 MB / 1.073 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.209, allocations: 11.98 kB / 1.073 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.209, allocations: 4 kB / 1.073 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/1.209, allocations: 16 kB / 1.073 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/1.211, allocations: 0.5149 MB / 1.073 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.363e-05/1.211, allocations: 12.38 kB / 1.073 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/1.213, allocations: 194.5 kB / 1.073 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/1.214, allocations: 91.92 kB / 1.074 GB, free: 11.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001365/1.215, allocations: 0.6416 MB / 1.074 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006256/1.216, allocations: 242.5 kB / 1.074 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/1.222, allocations: 3.112 MB / 1.077 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/1.222, allocations: 28 kB / 1.077 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.222, allocations: 0 / 1.077 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00462/1.226, allocations: 2.649 MB / 1.08 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.238, allocations: 6.222 MB / 1.086 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.238, allocations: 0 / 1.086 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.241, allocations: 0.5462 MB / 1.087 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.648e-05/1.241, allocations: 11.94 kB / 1.087 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/1.241, allocations: 59.98 kB / 1.087 GB, free: 13.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/1.241, allocations: 8 kB / 1.087 GB, free: 13.47 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.241, allocations: 0 / 1.087 GB, free: 13.47 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008065/1.249, allocations: 4.582 MB / 1.091 GB, free: 8.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.251, allocations: 0.6199 MB / 1.092 GB, free: 8.164 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004634/1.251, allocations: 55.94 kB / 1.092 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.253, allocations: 66.78 kB / 1.092 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.253, allocations: 162 kB / 1.092 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.253, allocations: 83.97 kB / 1.092 GB, free: 7.805 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001551/1.255, allocations: 0.95 MB / 1.093 GB, free: 6.859 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.8e-07/1.255, allocations: 0 / 1.093 GB, free: 6.859 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002554/1.258, allocations: 0.9867 MB / 1.094 GB, free: 5.871 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.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 (278): * Single equations (assignments): 278 * 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.008793/1.266, allocations: 5.421 MB / 1.099 GB, free: 388 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004948/1.271, allocations: 2.771 MB / 1.102 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.271, allocations: 4 kB / 1.102 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.274, allocations: 1.507 MB / 1.104 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006533/1.28, allocations: 1.357 MB / 1.105 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/1.314, allocations: 19.53 MB / 1.124 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.316, allocations: 1.899 MB / 1.126 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00305/1.319, allocations: 0.8396 MB / 1.127 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/1.321, allocations: 1.097 MB / 1.128 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of SimCode: time 1.132e-06/1.321, allocations: 0 / 1.128 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.446, allocations: 68.45 MB / 1.194 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.35, allocations: 12.16 kB / 1.195 GB, free: 15.36 MB / 0.9044 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)