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.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.001316/0.001316, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001445/0.001445, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002474/0.002474, allocations: 296.6 kB / 313.5 MB, free: 2.621 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.198/1.198, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaPlateFree",fmuType="cs",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.002837/0.002837, allocations: 106.1 kB / 0.7402 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1675, allocations: 95.38 MB / 0.8334 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002361/0.1698, allocations: 1.268 MB / 0.8346 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1712, allocations: 0.6877 MB / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.1712, allocations: 0 / 0.8353 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.1712, allocations: 11.92 kB / 0.8353 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.1713, allocations: 3.984 kB / 0.8353 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.1717, allocations: 135.6 kB / 0.8354 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.1718, allocations: 23.92 kB / 0.8355 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1718, allocations: 3.938 kB / 0.8355 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.172, allocations: 23.92 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.172, allocations: 15.92 kB / 0.8355 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.172, allocations: 0 / 0.8355 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.1723, allocations: 171.8 kB / 0.8357 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1723, allocations: 4 kB / 0.8357 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.1724, allocations: 15.92 kB / 0.8357 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1726, allocations: 115.9 kB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1726, allocations: 0 / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1726, allocations: 0 / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1726, allocations: 0 / 0.8358 GB, free: 5.871 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.0003783/0.173, allocations: 270.1 kB / 0.836 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.173, allocations: 13.34 kB / 0.8361 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.172e-05/0.173, allocations: 192 / 0.8361 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.173, allocations: 38.73 kB / 0.8361 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.1731, allocations: 4.938 kB / 0.8361 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1732, allocations: 118.4 kB / 0.8362 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1732, allocations: 4.375 kB / 0.8362 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1733, allocations: 384 / 0.8362 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1734, allocations: 45.62 kB / 0.8363 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1734, allocations: 0 / 0.8363 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1734, allocations: 4 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1734, allocations: 0 / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.1734, allocations: 23.97 kB / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1736, allocations: 132.8 kB / 0.8364 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.1737, allocations: 38.58 kB / 0.8364 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.1737, allocations: 24.97 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.174, allocations: 31.91 kB / 0.8365 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1741, allocations: 38.56 kB / 0.8365 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1741, allocations: 0 / 0.8365 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001742/0.1742, allocations: 61.62 kB / 0.8366 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.1743, allocations: 55.41 kB / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.1743, allocations: 93.86 kB / 0.8367 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1744, allocations: 25.7 kB / 0.8368 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.1744, allocations: 88.08 kB / 0.8368 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1744, allocations: 19.83 kB / 0.8369 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.1745, allocations: 17.72 kB / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1746, allocations: 314.8 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.1746, allocations: 7.984 kB / 0.8372 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.934e-05/0.1747, allocations: 8 kB / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.1747, allocations: 24.86 kB / 0.8372 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1747, allocations: 3.938 kB / 0.8372 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.806e-05/0.1748, allocations: 61.58 kB / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1748, allocations: 8.125 kB / 0.8373 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1748, allocations: 0 / 0.8373 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1748, allocations: 4 kB / 0.8373 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.1749, allocations: 11.92 kB / 0.8373 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1749, allocations: 4 kB / 0.8373 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1749, allocations: 0 / 0.8373 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1749, allocations: 4 kB / 0.8373 GB, free: 4.109 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.853e-05/0.175, allocations: 110.5 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.175, allocations: 3.938 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.1752, allocations: 77.42 kB / 0.8375 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1752, allocations: 4.5 kB / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1752, allocations: 0 / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1752, allocations: 0 / 0.8375 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1753, allocations: 132.7 kB / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1753, allocations: 11.88 kB / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.1754, allocations: 11.98 kB / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1754, allocations: 0 / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1754, allocations: 8 kB / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1754, allocations: 0 / 0.8377 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1754, allocations: 4 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1755, allocations: 85.06 kB / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.1755, allocations: 7.875 kB / 0.8378 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1755, allocations: 4 kB / 0.8378 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.1756, allocations: 7.938 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.1756, allocations: 3.984 kB / 0.8378 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1756, allocations: 4 kB / 0.8378 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.1756, allocations: 79.22 kB / 0.8378 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 0 / 0.8378 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002446/0.1759, allocations: 35.92 kB / 0.8379 GB, free: 3.449 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.0005426/0.1764, allocations: 0.667 MB / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.1765, allocations: 31.92 kB / 0.8386 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1765, allocations: 0 / 0.8386 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.1765, allocations: 12 kB / 0.8386 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1767, allocations: 8 kB / 0.8386 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.1771, allocations: 164.5 kB / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.1771, allocations: 71.22 kB / 0.8388 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.1772, allocations: 11.94 kB / 0.8388 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1772, allocations: 15.42 kB / 0.8388 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1772, allocations: 0 / 0.8388 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1997, allocations: 2.491 MB / 0.8413 GB, free: 48 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.85, allocations: 16.53 kB / 0.8413 GB, free: 36 kB / 0.5762 GB " [Timeout remaining time 649] (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: 14.922069948981516] Failed to read output from testmodel.py, exit status != 0: 11.012225487967953 11.039374598 10.861243305 Calling exit ...