Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007955/0.0007955, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001791/0.001791, allocations: 238.2 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7924/0.7924, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.656e-05, allocations: 10.16 kB / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6435/0.6435, allocations: 262.1 MB / 0.9023 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.6693, allocations: 15.88 MB / 0.9178 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006477/0.6758, allocations: 107.2 kB / 0.9179 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00674/0.6825, allocations: 1.813 MB / 0.9197 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01798/0.7005, allocations: 6.892 MB / 0.9264 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.008595/0.7091, allocations: 3.061 MB / 0.9294 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01321/0.7223, allocations: 7.961 MB / 0.9372 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5842/1.306, allocations: 1.956 MB / 0.9391 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01524/1.322, allocations: 3.845 MB / 0.9428 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/1.332, allocations: 2.545 MB / 0.9453 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.00246/1.334, allocations: 326.5 kB / 0.9456 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01825/1.353, allocations: 5.156 MB / 0.9507 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.005228/1.358, allocations: 1.448 MB / 0.9521 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.006784/1.365, allocations: 1.371 MB / 0.9534 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02861/1.393, allocations: 6.984 MB / 0.9602 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.393, allocations: 2.438 kB / 0.9602 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.585e-06/1.393, allocations: 0 / 0.9602 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003421/1.394, allocations: 0 / 0.9602 GB, free: 7.645 MB / 0.7605 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.0226/1.416, allocations: 4.124 MB / 0.9643 GB, free: 22.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 9.954e-05/1.416, allocations: 12.81 kB / 0.9643 GB, free: 22.01 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002045/1.418, allocations: 368 kB / 0.9646 GB, free: 21.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007221/1.426, allocations: 0.9427 MB / 0.9655 GB, free: 21.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007607/1.433, allocations: 1.832 MB / 0.9673 GB, free: 21.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/1.433, allocations: 192.7 kB / 0.9675 GB, free: 21.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/1.435, allocations: 261.6 kB / 0.9678 GB, free: 21.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/1.448, allocations: 3.739 MB / 0.9714 GB, free: 20.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.449, allocations: 9.547 kB / 0.9714 GB, free: 20.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/1.449, allocations: 108.4 kB / 0.9715 GB, free: 20.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003371/1.449, allocations: 141.1 kB / 0.9717 GB, free: 20.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009953/1.459, allocations: 3.473 MB / 0.9751 GB, free: 20.45 MB / 0.7761 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.0185/1.478, allocations: 8.166 MB / 0.983 GB, free: 18.34 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/1.481, allocations: 2.941 MB / 0.9859 GB, free: 18.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/1.483, allocations: 1.698 MB / 0.9876 GB, free: 18.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/1.484, allocations: 223.6 kB / 0.9878 GB, free: 18.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.533e-05/1.484, allocations: 66.38 kB / 0.9878 GB, free: 18.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 5.15e-06/1.484, allocations: 0.9375 kB / 0.9878 GB, free: 18.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.005157/1.489, allocations: 3.899 MB / 0.9917 GB, free: 17.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/1.489, allocations: 83.56 kB / 0.9917 GB, free: 17.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/1.491, allocations: 1.384 MB / 0.9931 GB, free: 17.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.491, allocations: 72.48 kB / 0.9932 GB, free: 17.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/1.492, allocations: 1.002 MB / 0.9941 GB, free: 17.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000649/1.492, allocations: 0.9821 MB / 0.9951 GB, free: 16.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005384/1.493, allocations: 403.3 kB / 0.9955 GB, free: 16.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.493, allocations: 302 kB / 0.9958 GB, free: 16.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/1.495, allocations: 1.102 MB / 0.9968 GB, free: 16.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.496, allocations: 1.358 MB / 0.9982 GB, free: 16.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/1.5, allocations: 2.645 MB / 1.001 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-05/1.5, allocations: 4.156 kB / 1.001 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004871/1.505, allocations: 2.99 MB / 1.004 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.505, allocations: 5.406 kB / 1.004 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.505, allocations: 9.562 kB / 1.004 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/1.505, allocations: 14.66 kB / 1.004 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.506, allocations: 0.5137 MB / 1.004 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-05/1.506, allocations: 18.91 kB / 1.004 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/1.509, allocations: 189 kB / 1.004 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/1.509, allocations: 82.97 kB / 1.004 GB, free: 15.46 MB / 0.7761 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.00231/1.512, allocations: 0.6419 MB / 1.005 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009386/1.513, allocations: 245.4 kB / 1.005 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/1.517, allocations: 3.115 MB / 1.008 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.517, allocations: 31.81 kB / 1.008 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.797e-05/1.517, allocations: 0.8125 kB / 1.008 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00323/1.52, allocations: 2.65 MB / 1.011 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.531, allocations: 5.734 MB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.531, allocations: 3.594 kB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/1.533, allocations: 0.5412 MB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.999e-05/1.533, allocations: 13.22 kB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.534, allocations: 61.27 kB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/1.534, allocations: 7.406 kB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.534, allocations: 4.156 kB / 1.017 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007003/1.541, allocations: 4.578 MB / 1.022 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.543, allocations: 0.5498 MB / 1.022 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009303/1.544, allocations: 52.12 kB / 1.022 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/1.546, allocations: 71.23 kB / 1.022 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.546, allocations: 173.3 kB / 1.023 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/1.546, allocations: 76.55 kB / 1.023 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001622/1.548, allocations: 0.9496 MB / 1.024 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/1.548, allocations: 3 kB / 1.024 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003612/1.552, allocations: 0.9862 MB / 1.024 GB, free: 13.51 MB / 0.7761 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.006894/1.559, allocations: 5.41 MB / 1.03 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003664/1.562, allocations: 2.614 MB / 1.032 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.562, allocations: 2.594 kB / 1.032 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/1.564, allocations: 1.397 MB / 1.034 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/1.57, allocations: 1.34 MB / 1.035 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/1.599, allocations: 19.27 MB / 1.054 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.601, allocations: 1.333 MB / 1.055 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003904/1.604, allocations: 0.8396 MB / 1.056 GB, free: 400 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/1.607, allocations: 1.103 MB / 1.057 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of SimCode: time 5.109e-06/1.607, allocations: 6.734 kB / 1.057 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.724, allocations: 74.02 MB / 1.129 GB, free: 6.746 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/10.83, allocations: 10.88 kB / 1.129 GB, free: 6.738 MB / 0.8542 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.128275250084698] Failed to read output from testmodel.py, exit status != 0: 10.948799473233521 10.958059172 9.562165121 Calling exit ...