Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",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.0009519/0.000952, allocations: 99.55 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.000982/0.0009821, allocations: 177.3 kB / 15.94 MB, free: 228 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.28/1.28, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9634/0.9634, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.000301, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 83.42 MB / 0.5974 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4966/0.6377, allocations: 254.4 MB / 0.8458 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.3497/0.9875, allocations: 18.62 MB / 0.864 GB, free: 9.012 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.9904, allocations: 71.16 kB / 0.8641 GB, free: 9.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.9954, allocations: 1.878 MB / 0.8659 GB, free: 9.004 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/1.009, allocations: 5.484 MB / 0.8713 GB, free: 8.941 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00661/1.016, allocations: 2.464 MB / 0.8737 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007735/1.024, allocations: 5.207 MB / 0.8787 GB, free: 8.887 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004036/1.028, allocations: 2.396 MB / 0.8811 GB, free: 24.58 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/1.034, allocations: 2.802 MB / 0.8838 GB, free: 24.57 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/1.039, allocations: 2.083 MB / 0.8859 GB, free: 24.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001476/1.04, allocations: 196.2 kB / 0.886 GB, free: 24.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.051, allocations: 2.769 MB / 0.8887 GB, free: 24.56 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002944/1.054, allocations: 1.332 MB / 0.89 GB, free: 24.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002676/1.056, allocations: 0.7975 MB / 0.8908 GB, free: 24.53 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009324/1.066, allocations: 5.137 MB / 0.8958 GB, free: 24.14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.066, allocations: 0 / 0.8958 GB, free: 24.14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.825e-06/1.066, allocations: 0 / 0.8958 GB, free: 24.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001647/1.066, allocations: 1.156 kB / 0.8958 GB, free: 24.14 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01251/1.078, allocations: 4.219 MB / 0.9 GB, free: 22.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.078, allocations: 8.844 kB / 0.9 GB, free: 22.38 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001255/1.08, allocations: 460.4 kB / 0.9004 GB, free: 22.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00712/1.087, allocations: 1.026 MB / 0.9014 GB, free: 22.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/1.092, allocations: 2.091 MB / 0.9035 GB, free: 21.61 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/1.092, allocations: 245.2 kB / 0.9037 GB, free: 21.6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009864/1.093, allocations: 333.3 kB / 0.904 GB, free: 21.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007509/1.101, allocations: 4.187 MB / 0.9081 GB, free: 21.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.592e-05/1.101, allocations: 13 kB / 0.9081 GB, free: 21.29 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/1.101, allocations: 134.9 kB / 0.9082 GB, free: 21.28 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/1.102, allocations: 171.3 kB / 0.9084 GB, free: 21.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007286/1.109, allocations: 4.754 MB / 0.913 GB, free: 20.47 MB / 0.6856 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.02378/1.133, allocations: 14.41 MB / 0.9271 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005441/1.138, allocations: 4.535 MB / 0.9315 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.14, allocations: 1.527 MB / 0.933 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.14, allocations: 83.8 kB / 0.9331 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 5.39e-06/1.14, allocations: 2.906 kB / 0.9331 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.008784/1.149, allocations: 5.504 MB / 0.9385 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.149, allocations: 90.11 kB / 0.9386 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.151, allocations: 1.667 MB / 0.9402 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003658/1.151, allocations: 92.52 kB / 0.9403 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/1.152, allocations: 1.136 MB / 0.9414 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.153, allocations: 1.318 MB / 0.9427 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/1.153, allocations: 70.72 kB / 0.9428 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002216/1.154, allocations: 442.2 kB / 0.9432 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/1.156, allocations: 1.555 MB / 0.9447 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/1.158, allocations: 1.884 MB / 0.9465 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.161, allocations: 1.829 MB / 0.9483 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.161, allocations: 1.859 kB / 0.9483 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00632/1.167, allocations: 4.151 MB / 0.9524 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.167, allocations: 6.625 kB / 0.9524 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.167, allocations: 4.094 kB / 0.9524 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/1.168, allocations: 20.03 kB / 0.9524 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.171, allocations: 0.694 MB / 0.9531 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-05/1.171, allocations: 21.62 kB / 0.9531 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.175, allocations: 484.9 kB / 0.9536 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004296/1.175, allocations: 114.7 kB / 0.9537 GB, free: 4.098 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.001895/1.177, allocations: 0.8007 MB / 0.9545 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008196/1.178, allocations: 292.5 kB / 0.9547 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/1.186, allocations: 4.422 MB / 0.9591 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.186, allocations: 40 kB / 0.9591 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.186, allocations: 0 / 0.9591 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005673/1.191, allocations: 3.767 MB / 0.9628 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/1.208, allocations: 8.629 MB / 0.9712 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.208, allocations: 5.859 kB / 0.9712 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003526/1.212, allocations: 0.7169 MB / 0.9719 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-05/1.212, allocations: 23.98 kB / 0.9719 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003228/1.212, allocations: 79.98 kB / 0.972 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/1.212, allocations: 16 kB / 0.972 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.212, allocations: 6.906 kB / 0.972 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009782/1.222, allocations: 6.702 MB / 0.9786 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002485/1.225, allocations: 0.7997 MB / 0.9794 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/1.225, allocations: 72.31 kB / 0.9794 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.228, allocations: 270.5 kB / 0.9797 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004316/1.228, allocations: 236.5 kB / 0.9799 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/1.229, allocations: 112.6 kB / 0.98 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001652/1.23, allocations: 1.138 MB / 0.9811 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.21e-07/1.23, allocations: 0 / 0.9811 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003775/1.234, allocations: 1.227 MB / 0.9823 GB, free: 15.52 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.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 (392): * Single equations (assignments): 392 * 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 Backend phase and start with SimCode phase: time 0.01141/1.246, allocations: 8.259 MB / 0.9904 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006351/1.252, allocations: 3.904 MB / 0.9942 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.252, allocations: 3.938 kB / 0.9942 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003156/1.255, allocations: 2.138 MB / 0.9963 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007746/1.263, allocations: 1.483 MB / 0.9977 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.284, allocations: 14.03 MB / 1.011 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/1.286, allocations: 2.27 MB / 1.014 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004721/1.291, allocations: 1.223 MB / 1.015 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.293, allocations: 1.385 MB / 1.016 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.293, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.423, allocations: 83.48 MB / 1.098 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/1.424, allocations: 232.8 kB / 1.098 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/5.273, allocations: 4 kB / 1.098 GB, free: 0.7969 MB / 0.8106 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: