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.001347/0.001347, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001509/0.001509, allocations: 216.2 kB / 22.25 MB, free: 5.125 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.969 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.002464/0.002464, allocations: 293.8 kB / 312.7 MB, free: 2.801 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.161/1.161, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.00281/0.00281, allocations: 99.78 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1571, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002307/0.1594, allocations: 1.28 MB / 0.834 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1609, allocations: 0.9523 MB / 0.8349 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.1609, allocations: 7.938 kB / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1609, allocations: 0 / 0.8349 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.1609, allocations: 3.938 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1614, allocations: 135.5 kB / 0.835 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.1615, allocations: 31.86 kB / 0.8351 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1615, allocations: 4 kB / 0.8351 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1616, allocations: 19.97 kB / 0.8351 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.1617, allocations: 19.92 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1617, allocations: 0 / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.162, allocations: 163.8 kB / 0.8353 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.162, allocations: 11.98 kB / 0.8353 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.162, allocations: 7.938 kB / 0.8353 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1623, allocations: 135.9 kB / 0.8354 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1623, allocations: 3.938 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1623, allocations: 4 kB / 0.8354 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1623, allocations: 0 / 0.8354 GB, free: 5.863 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.0003887/0.1627, allocations: 278.1 kB / 0.8357 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1627, allocations: 13.33 kB / 0.8357 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1627, allocations: 34.75 kB / 0.8357 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.1628, allocations: 4.938 kB / 0.8357 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1629, allocations: 110.5 kB / 0.8358 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1629, allocations: 384 / 0.8358 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.1629, allocations: 4.375 kB / 0.8358 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1631, allocations: 45.81 kB / 0.8359 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1631, allocations: 0 / 0.8359 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1631, allocations: 3.938 kB / 0.8359 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1631, allocations: 11.98 kB / 0.8359 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.1632, allocations: 23.92 kB / 0.8359 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1633, allocations: 136.8 kB / 0.836 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.1634, allocations: 34.56 kB / 0.8361 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.1634, allocations: 16.86 kB / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.1635, allocations: 16.09 kB / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1636, allocations: 38.5 kB / 0.8361 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1636, allocations: 0 / 0.8361 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001838/0.1637, allocations: 65.62 kB / 0.8362 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1638, allocations: 51.41 kB / 0.8363 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.1639, allocations: 93.86 kB / 0.8363 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1639, allocations: 33.83 kB / 0.8364 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.1639, allocations: 80.14 kB / 0.8365 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.164, allocations: 11.89 kB / 0.8365 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.164, allocations: 21.72 kB / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1641, allocations: 310.8 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.1642, allocations: 15.92 kB / 0.8368 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.1642, allocations: 4 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.1642, allocations: 28.86 kB / 0.8368 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1642, allocations: 0 / 0.8368 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.1643, allocations: 69.52 kB / 0.8369 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1643, allocations: 8 kB / 0.8369 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1644, allocations: 0 / 0.8369 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1644, allocations: 0 / 0.8369 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1644, allocations: 11.98 kB / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1644, allocations: 0 / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/0.1645, allocations: 0 / 0.8369 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1645, allocations: 4.438 kB / 0.8369 GB, free: 4.121 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.092e-05/0.1646, allocations: 106.5 kB / 0.837 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1646, allocations: 7.938 kB / 0.837 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1648, allocations: 97.25 kB / 0.8371 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1648, allocations: 0 / 0.8371 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1648, allocations: 0 / 0.8371 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1648, allocations: 7.984 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1649, allocations: 128.8 kB / 0.8373 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.1649, allocations: 3.938 kB / 0.8373 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.1649, allocations: 15.94 kB / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1649, allocations: 0 / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1649, allocations: 0 / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.165, allocations: 4 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.165, allocations: 0 / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1651, allocations: 93.03 kB / 0.8374 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.1651, allocations: 7.938 kB / 0.8374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1651, allocations: 0 / 0.8374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.1651, allocations: 4 kB / 0.8374 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.1651, allocations: 4 kB / 0.8374 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1651, allocations: 3.984 kB / 0.8374 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.1652, allocations: 83.28 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002457/0.1654, allocations: 47.81 kB / 0.8375 GB, free: 3.438 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.0005636/0.166, allocations: 0.6903 MB / 0.8382 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.1661, allocations: 23.98 kB / 0.8382 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1661, allocations: 0 / 0.8382 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.1661, allocations: 19.92 kB / 0.8382 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1663, allocations: 5.406 kB / 0.8382 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1667, allocations: 176.8 kB / 0.8384 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.167, allocations: 0.6806 MB / 0.8391 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.167, allocations: 15.97 kB / 0.8391 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.167, allocations: 15.44 kB / 0.8391 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.167, allocations: 0 / 0.8391 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.1956, allocations: 2.308 MB / 0.8413 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.91, allocations: 9.906 kB / 0.8414 GB, free: 15.55 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.778452900936827] Failed to read output from testmodel.py, exit status != 0: 11.01221281196922 11.035350287 10.868965378 Calling exit ...