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.001321/0.001321, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.001627/0.001627, allocations: 210.8 kB / 22.24 MB, free: 5.266 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.781 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.002563/0.002563, allocations: 301.9 kB / 312.7 MB, free: 2.602 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.186/1.186, allocations: 180.6 MB / 0.5369 GB, free: 14.45 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.002903/0.002903, allocations: 100.3 kB / 0.7395 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1644, allocations: 95.38 MB / 0.8326 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002331/0.1667, allocations: 1.277 MB / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1682, allocations: 0.8473 MB / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1682, allocations: 0 / 0.8347 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.1682, allocations: 7.922 kB / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.1683, allocations: 0 / 0.8347 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1687, allocations: 147.4 kB / 0.8348 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.1688, allocations: 23.92 kB / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.1688, allocations: 0 / 0.8348 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.169, allocations: 23.88 kB / 0.8349 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.169, allocations: 11.97 kB / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.169, allocations: 4 kB / 0.8349 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.1693, allocations: 167.8 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.1693, allocations: 4 kB / 0.8351 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.1694, allocations: 11.92 kB / 0.8351 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1696, allocations: 139.8 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1696, allocations: 0 / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1696, allocations: 0 / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1696, allocations: 0 / 0.8352 GB, free: 5.668 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.000402/0.17, allocations: 282 kB / 0.8355 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1701, allocations: 13.34 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.1701, allocations: 30.75 kB / 0.8355 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.394e-05/0.1702, allocations: 4.938 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1703, allocations: 114.5 kB / 0.8356 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1703, allocations: 12.31 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1703, allocations: 384 / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1704, allocations: 45.81 kB / 0.8357 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1704, allocations: 3.984 kB / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1705, allocations: 0 / 0.8357 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1705, allocations: 4 kB / 0.8357 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.308e-05/0.1705, allocations: 31.91 kB / 0.8357 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1707, allocations: 128.7 kB / 0.8358 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.1708, allocations: 38.56 kB / 0.8359 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.1708, allocations: 16.98 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.943e-05/0.1709, allocations: 11.98 kB / 0.8359 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1709, allocations: 38.5 kB / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1709, allocations: 0 / 0.8359 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001717/0.1711, allocations: 57.69 kB / 0.836 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1712, allocations: 55.41 kB / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.1712, allocations: 97.84 kB / 0.8361 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1713, allocations: 29.7 kB / 0.8362 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.1713, allocations: 80.14 kB / 0.8362 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1713, allocations: 11.91 kB / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1714, allocations: 25.78 kB / 0.8363 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1715, allocations: 318.8 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.1715, allocations: 4 kB / 0.8366 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.1716, allocations: 12 kB / 0.8366 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.1716, allocations: 24.84 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1716, allocations: 0 / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.648e-05/0.1717, allocations: 61.59 kB / 0.8367 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1717, allocations: 7.984 kB / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1717, allocations: 0 / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1717, allocations: 0 / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1718, allocations: 11.94 kB / 0.8367 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1718, allocations: 4 kB / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.1718, allocations: 0 / 0.8367 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1718, allocations: 4.438 kB / 0.8367 GB, free: 3.926 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 8.298e-05/0.1719, allocations: 114.4 kB / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.1719, allocations: 7.938 kB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.1721, allocations: 89.33 kB / 0.8369 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1721, allocations: 8 kB / 0.8369 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1721, allocations: 0 / 0.8369 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1721, allocations: 0 / 0.8369 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1723, allocations: 132.7 kB / 0.837 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1723, allocations: 0 / 0.837 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.327e-05/0.1723, allocations: 23.8 kB / 0.8371 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1723, allocations: 0 / 0.8371 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1723, allocations: 8 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1723, allocations: 0 / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1723, allocations: 0 / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.1725, allocations: 81.12 kB / 0.8372 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.1725, allocations: 7.938 kB / 0.8372 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1725, allocations: 11.98 kB / 0.8372 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.1725, allocations: 0 / 0.8372 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.1725, allocations: 0 / 0.8372 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1725, allocations: 4 kB / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.1726, allocations: 75.28 kB / 0.8372 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1726, allocations: 3.938 kB / 0.8373 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002373/0.1728, allocations: 55.8 kB / 0.8373 GB, free: 3.234 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.0005602/0.1734, allocations: 0.6825 MB / 0.838 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.1735, allocations: 36.02 kB / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1735, allocations: 0 / 0.838 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.1735, allocations: 16 kB / 0.838 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1736, allocations: 2.188 kB / 0.838 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.174, allocations: 168.9 kB / 0.8382 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.305e-05/0.1741, allocations: 71.28 kB / 0.8383 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.1741, allocations: 11.94 kB / 0.8383 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1741, allocations: 15.42 kB / 0.8383 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1741, allocations: 0 / 0.8383 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.2031, allocations: 2.682 MB / 0.8409 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.71, allocations: 3.938 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 14.751527954824269] Failed to read output from testmodel.py, exit status != 0: 10.814034591894597 10.837394335 10.664718447 Calling exit ...