Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.001241/0.001241, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001368/0.001368, allocations: 211.5 kB / 22.24 MB, free: 4.855 MB / 14.72 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.002493/0.002493, allocations: 289 kB / 312.7 MB, free: 2.617 MB / 238.1 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 1.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 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.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 102.2 kB / 0.7395 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1623, allocations: 95.39 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002436/0.1647, allocations: 1.266 MB / 0.8339 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1662, allocations: 0.8511 MB / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1662, allocations: 0 / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.1662, allocations: 0 / 0.8347 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.1663, allocations: 3.938 kB / 0.8347 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1668, allocations: 147.5 kB / 0.8348 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.1668, allocations: 23.86 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1669, allocations: 4 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.167, allocations: 23.91 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.167, allocations: 11.92 kB / 0.8349 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1671, allocations: 4 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1674, allocations: 163.8 kB / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1674, allocations: 4 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.1674, allocations: 7.938 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1676, allocations: 135.9 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1676, allocations: 4 kB / 0.8352 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1677, allocations: 3.938 kB / 0.8352 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1677, allocations: 0 / 0.8352 GB, free: 5.656 MB / 0.5762 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.0004042/0.1681, allocations: 286 kB / 0.8355 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1681, allocations: 9.938 kB / 0.8355 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.1681, allocations: 30.75 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.1682, allocations: 4.938 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1683, allocations: 118.4 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1683, allocations: 384 / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.1683, allocations: 384 / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.1684, allocations: 53.8 kB / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1684, allocations: 0 / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1685, allocations: 0 / 0.8357 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1685, allocations: 4 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.811e-05/0.1685, allocations: 19.98 kB / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1687, allocations: 132.7 kB / 0.8358 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.1688, allocations: 38.56 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.1688, allocations: 16.98 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.573e-05/0.1689, allocations: 4 kB / 0.8359 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1689, allocations: 42.48 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 2.745e-06/0.1689, allocations: 7.984 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.000175/0.1691, allocations: 65.69 kB / 0.836 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1692, allocations: 55.34 kB / 0.836 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.1692, allocations: 93.86 kB / 0.8361 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1692, allocations: 29.64 kB / 0.8362 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1693, allocations: 84.12 kB / 0.8362 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1693, allocations: 19.89 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.1693, allocations: 17.72 kB / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1695, allocations: 314.8 kB / 0.8366 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.1695, allocations: 7.984 kB / 0.8366 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.1695, allocations: 16.12 kB / 0.8366 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.088e-05/0.1696, allocations: 20.86 kB / 0.8366 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1696, allocations: 384 / 0.8366 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001025/0.1697, allocations: 69.58 kB / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1697, allocations: 4 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1697, allocations: 0 / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1697, allocations: 0 / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.1698, allocations: 15.92 kB / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1698, allocations: 0 / 0.8367 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.1698, allocations: 4 kB / 0.8367 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1698, allocations: 0 / 0.8367 GB, free: 3.91 MB / 0.5762 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 7.794e-05/0.1699, allocations: 118.5 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1699, allocations: 3.938 kB / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.1701, allocations: 85.34 kB / 0.8369 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1701, allocations: 0 / 0.8369 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1701, allocations: 0 / 0.8369 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1701, allocations: 3.938 kB / 0.8369 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1702, allocations: 132.7 kB / 0.837 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1702, allocations: 4 kB / 0.837 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1703, allocations: 19.94 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1703, allocations: 0 / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1703, allocations: 3.984 kB / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1703, allocations: 0 / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1703, allocations: 0 / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.1704, allocations: 81.12 kB / 0.8371 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.1704, allocations: 7.938 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1704, allocations: 4 kB / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.1704, allocations: 0 / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.1705, allocations: 11.92 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1705, allocations: 4.188 kB / 0.8372 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.1705, allocations: 79.28 kB / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 0 / 0.8373 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000255/0.1707, allocations: 51.8 kB / 0.8373 GB, free: 3.23 MB / 0.5762 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.0006153/0.1714, allocations: 0.6941 MB / 0.838 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.893e-05/0.1715, allocations: 27.94 kB / 0.838 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1715, allocations: 0 / 0.838 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.1715, allocations: 19.98 kB / 0.838 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1716, allocations: 5.469 kB / 0.838 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.172, allocations: 176.4 kB / 0.8382 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.334e-05/0.1721, allocations: 63.34 kB / 0.8383 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.1721, allocations: 8 kB / 0.8383 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1722, allocations: 15.44 kB / 0.8383 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1722, allocations: 0 / 0.8383 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2003, allocations: 2.679 MB / 0.8409 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 0 / 0.8409 GB, free: 15.6 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap.fmu > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.042946192901582] Failed to read output from testmodel.py, exit status != 0: 10.950960285030305 10.967970598 10.797305829999999 Calling exit ...