Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 109 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00266/0.00266, allocations: 297.2 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.303/1.303, allocations: 180.9 MB / 0.5261 GB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 96.91 kB / 0.7247 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1937, allocations: 94.15 MB / 0.8167 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002569/0.1962, allocations: 1.264 MB / 0.8179 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1976, allocations: 0.7146 MB / 0.8186 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.1976, allocations: 0 / 0.8186 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.1976, allocations: 0 / 0.8186 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.1977, allocations: 3.938 kB / 0.8186 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1981, allocations: 131.6 kB / 0.8187 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.1982, allocations: 23.86 kB / 0.8188 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.1982, allocations: 4 kB / 0.8188 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.1983, allocations: 19.92 kB / 0.8188 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.1984, allocations: 11.92 kB / 0.8188 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1984, allocations: 0 / 0.8188 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.1987, allocations: 163.8 kB / 0.819 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1987, allocations: 11.98 kB / 0.819 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1987, allocations: 7.938 kB / 0.819 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.1989, allocations: 107.9 kB / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1989, allocations: 0 / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1989, allocations: 0 / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.199, allocations: 0 / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004884/0.1994, allocations: 347.3 kB / 0.8194 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1995, allocations: 8.031 kB / 0.8194 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1995, allocations: 34.75 kB / 0.8194 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.1995, allocations: 0.9375 kB / 0.8194 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1997, allocations: 168.4 kB / 0.8196 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1997, allocations: 8.312 kB / 0.8196 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1997, allocations: 384 / 0.8196 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1998, allocations: 45.81 kB / 0.8197 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1998, allocations: 3.984 kB / 0.8197 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1999, allocations: 0 / 0.8197 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1999, allocations: 0 / 0.8197 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/0.1999, allocations: 23.98 kB / 0.8197 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.2001, allocations: 153.7 kB / 0.8198 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.2002, allocations: 46.56 kB / 0.8199 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.2002, allocations: 16.92 kB / 0.8199 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.2006, allocations: 186.2 kB / 0.8201 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.2007, allocations: 38.5 kB / 0.8201 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.2007, allocations: 0 / 0.8201 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001941/0.2009, allocations: 65.64 kB / 0.8202 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2009, allocations: 55.41 kB / 0.8202 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.201, allocations: 93.86 kB / 0.8203 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.201, allocations: 25.7 kB / 0.8203 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.201, allocations: 80.14 kB / 0.8204 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2011, allocations: 23.83 kB / 0.8204 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.2011, allocations: 21.66 kB / 0.8205 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2013, allocations: 310.8 kB / 0.8208 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.2013, allocations: 12.11 kB / 0.8208 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.2013, allocations: 12.25 kB / 0.8208 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.2014, allocations: 28.98 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2014, allocations: 3.938 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.223e-05/0.2015, allocations: 53.62 kB / 0.8209 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2015, allocations: 8 kB / 0.8209 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2015, allocations: 0 / 0.8209 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2015, allocations: 0 / 0.8209 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.2016, allocations: 15.92 kB / 0.8209 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2016, allocations: 0 / 0.8209 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.2016, allocations: 7.953 kB / 0.8209 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.2016, allocations: 8 kB / 0.8209 GB, free: 0.8281 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 8.365e-05/0.2017, allocations: 105.8 kB / 0.821 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2017, allocations: 3.938 kB / 0.821 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2019, allocations: 77.23 kB / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2019, allocations: 0 / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2019, allocations: 0 / 0.8211 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2019, allocations: 4 kB / 0.8211 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.202, allocations: 161.7 kB / 0.8212 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.202, allocations: 0 / 0.8212 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.2021, allocations: 19.86 kB / 0.8213 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2021, allocations: 3.984 kB / 0.8213 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.2021, allocations: 8 kB / 0.8213 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2021, allocations: 0 / 0.8213 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2021, allocations: 3.938 kB / 0.8213 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2022, allocations: 93.14 kB / 0.8214 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.2023, allocations: 88.98 kB / 0.8214 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2023, allocations: 3.984 kB / 0.8214 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.2023, allocations: 4 kB / 0.8215 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2023, allocations: 4 kB / 0.8215 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2023, allocations: 0 / 0.8215 GB, free: 164 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.2024, allocations: 79.28 kB / 0.8215 GB, free: 84 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2024, allocations: 3.938 kB / 0.8215 GB, free: 80 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002435/0.2026, allocations: 35.92 kB / 0.8216 GB, free: 44 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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.00058/0.2032, allocations: 0.6553 MB / 0.8222 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2033, allocations: 27.92 kB / 0.8222 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2033, allocations: 0 / 0.8222 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.2033, allocations: 16 kB / 0.8222 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2035, allocations: 1.125 kB / 0.8223 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.2039, allocations: 172.2 kB / 0.8224 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2042, allocations: 0.6768 MB / 0.8231 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.715e-05/0.2043, allocations: 15.88 kB / 0.8231 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.2043, allocations: 15.44 kB / 0.8231 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.2043, allocations: 0 / 0.8231 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.2285, allocations: 2.257 MB / 0.8253 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.182, allocations: 1.703 kB / 0.8253 GB, free: 12.25 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.585577584803104] Failed to read output from testmodel.py, exit status != 0: 8.248650975059718 8.262628466 8.060746951 Calling exit ...