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.005848/0.005849, 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.001546/0.001547, allocations: 202.1 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.9834/0.9834, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.5953 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.379, allocations: 82.03 MB / 0.6754 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6793/1.058, allocations: 295.5 MB / 0.964 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02061/1.079, allocations: 17.05 MB / 0.9806 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/1.083, allocations: 82.16 kB / 0.9807 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004844/1.088, allocations: 1.892 MB / 0.9826 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/1.103, allocations: 6.437 MB / 0.9889 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007453/1.111, allocations: 2.942 MB / 0.9917 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009843/1.121, allocations: 7.698 MB / 0.9992 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004554/1.125, allocations: 2.584 MB / 1.002 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/1.131, allocations: 2.781 MB / 1.004 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00577/1.137, allocations: 2.708 MB / 1.007 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/1.138, allocations: 328 kB / 1.007 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/1.152, allocations: 6.161 MB / 1.013 GB, free: 10 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002319/1.154, allocations: 1.341 MB / 1.015 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004512/1.159, allocations: 1.877 MB / 1.017 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01598/1.175, allocations: 7.129 MB / 1.024 GB, free: 20 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.175, allocations: 0 / 1.024 GB, free: 20 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/1.175, allocations: 0 / 1.024 GB, free: 20 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000172/1.175, allocations: 0 / 1.024 GB, free: 20 kB / 0.7169 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.01224/1.187, allocations: 4.243 MB / 1.028 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.187, allocations: 8.031 kB / 1.028 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009562/1.188, allocations: 370.7 kB / 1.028 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/1.195, allocations: 0.928 MB / 1.029 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/1.199, allocations: 1.945 MB / 1.031 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/1.199, allocations: 194.2 kB / 1.031 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007709/1.2, allocations: 262.1 kB / 1.031 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007355/1.208, allocations: 3.341 MB / 1.035 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.959e-05/1.208, allocations: 4 kB / 1.035 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004311/1.208, allocations: 106.5 kB / 1.035 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.208, allocations: 141 kB / 1.035 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006637/1.215, allocations: 3.506 MB / 1.038 GB, free: 0.8203 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.01721/1.232, allocations: 12.19 MB / 1.05 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/1.237, allocations: 3.503 MB / 1.054 GB, free: 288 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/1.24, allocations: 1.84 MB / 1.055 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/1.242, allocations: 1.494 MB / 1.057 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/1.242, allocations: 64.75 kB / 1.057 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=278): time 4.238e-06/1.242, allocations: 4 kB / 1.057 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of matching and sorting (n=278): time 0.007107/1.249, allocations: 3.898 MB / 1.061 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.249, allocations: 77.59 kB / 1.061 GB, free: 8.523 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/1.252, allocations: 1.376 MB / 1.062 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.252, allocations: 77.7 kB / 1.062 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008238/1.253, allocations: 1.005 MB / 1.063 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009546/1.254, allocations: 0.997 MB / 1.064 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007128/1.254, allocations: 409 kB / 1.065 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.255, allocations: 305.1 kB / 1.065 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/1.256, allocations: 1.098 MB / 1.066 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/1.259, allocations: 1.359 MB / 1.067 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/1.263, allocations: 2.646 MB / 1.07 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.263, allocations: 0 / 1.07 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005311/1.268, allocations: 2.983 MB / 1.073 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.268, allocations: 11.98 kB / 1.073 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.268, allocations: 4.562 kB / 1.073 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/1.268, allocations: 23.94 kB / 1.073 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.27, allocations: 0.5071 MB / 1.073 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.868e-05/1.27, allocations: 19.94 kB / 1.073 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.273, allocations: 186.5 kB / 1.073 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.273, allocations: 87.92 kB / 1.074 GB, free: 11.23 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.001221/1.274, allocations: 0.6456 MB / 1.074 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.275, allocations: 246.5 kB / 1.074 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/1.28, allocations: 3.104 MB / 1.077 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.28, allocations: 24 kB / 1.077 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.28, allocations: 0 / 1.077 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004243/1.285, allocations: 2.653 MB / 1.08 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.295, allocations: 6.227 MB / 1.086 GB, free: 14.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.295, allocations: 3.938 kB / 1.086 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/1.298, allocations: 0.5462 MB / 1.087 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-05/1.298, allocations: 11.94 kB / 1.087 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.298, allocations: 55.98 kB / 1.087 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-05/1.298, allocations: 12 kB / 1.087 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.298, allocations: 0 / 1.087 GB, free: 13.53 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00736/1.306, allocations: 4.582 MB / 1.091 GB, free: 8.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.307, allocations: 0.6199 MB / 1.092 GB, free: 8.223 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/1.307, allocations: 51.94 kB / 1.092 GB, free: 8.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.309, allocations: 66.97 kB / 1.092 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.309, allocations: 166 kB / 1.092 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/1.31, allocations: 75.97 kB / 1.092 GB, free: 7.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001608/1.311, allocations: 0.9462 MB / 1.093 GB, free: 6.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/1.311, allocations: 4 kB / 1.093 GB, free: 6.926 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002338/1.314, allocations: 0.9867 MB / 1.094 GB, free: 5.938 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.008009/1.322, allocations: 5.426 MB / 1.099 GB, free: 448 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004571/1.326, allocations: 2.771 MB / 1.102 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.326, allocations: 1.125 kB / 1.102 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/1.328, allocations: 1.511 MB / 1.104 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006235/1.335, allocations: 1.357 MB / 1.105 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/1.366, allocations: 19.53 MB / 1.124 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/1.369, allocations: 1.895 MB / 1.126 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002872/1.372, allocations: 0.8435 MB / 1.127 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.373, allocations: 1.089 MB / 1.128 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/1.373, allocations: 0 / 1.128 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.019/6.392, allocations: 68.44 MB / 1.194 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/24.26, allocations: 8.625 kB / 1.195 GB, free: 15.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)