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.001274/0.001274, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001492/0.001492, allocations: 216.9 kB / 22.26 MB, free: 5.113 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 8.023 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.002447/0.002447, allocations: 293.7 kB / 312.7 MB, free: 2.84 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 12.91 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="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: 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.002798/0.002798, allocations: 107.6 kB / 0.7396 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1699, allocations: 95.39 MB / 0.8327 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002366/0.1723, allocations: 1.276 MB / 0.834 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1738, allocations: 0.7771 MB / 0.8347 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1738, allocations: 0 / 0.8347 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.1738, allocations: 0 / 0.8347 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/0.1739, allocations: 3.938 kB / 0.8347 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1743, allocations: 135.7 kB / 0.8348 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.1743, allocations: 27.91 kB / 0.8349 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.1744, allocations: 0 / 0.8349 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1745, allocations: 27.86 kB / 0.8349 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.1745, allocations: 15.86 kB / 0.8349 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.1746, allocations: 0 / 0.8349 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003798/0.1749, allocations: 167.8 kB / 0.8351 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.175, allocations: 11.97 kB / 0.8351 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.175, allocations: 7.938 kB / 0.8351 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1752, allocations: 112 kB / 0.8352 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1752, allocations: 0 / 0.8352 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1752, allocations: 0 / 0.8352 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.1752, allocations: 0 / 0.8352 GB, free: 6.219 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.000423/0.1756, allocations: 282.1 kB / 0.8355 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1756, allocations: 9.344 kB / 0.8355 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1757, allocations: 30.75 kB / 0.8355 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.1758, allocations: 4.938 kB / 0.8355 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1759, allocations: 110.4 kB / 0.8356 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1759, allocations: 8.375 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1759, allocations: 8.359 kB / 0.8356 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.176, allocations: 41.81 kB / 0.8357 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.176, allocations: 0 / 0.8357 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.176, allocations: 4 kB / 0.8357 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.176, allocations: 0 / 0.8357 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.1761, allocations: 23.98 kB / 0.8357 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1762, allocations: 128.8 kB / 0.8358 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.1763, allocations: 46.5 kB / 0.8359 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.1763, allocations: 16.98 kB / 0.8359 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.1766, allocations: 35.95 kB / 0.8359 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1767, allocations: 38.48 kB / 0.836 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1767, allocations: 0 / 0.836 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.1768, allocations: 61.69 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1769, allocations: 59.34 kB / 0.8361 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.1769, allocations: 93.86 kB / 0.8362 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.177, allocations: 29.7 kB / 0.8362 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.177, allocations: 80.14 kB / 0.8363 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.177, allocations: 19.83 kB / 0.8363 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.1771, allocations: 13.72 kB / 0.8363 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1772, allocations: 318.8 kB / 0.8366 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.1772, allocations: 7.984 kB / 0.8366 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.1772, allocations: 12.12 kB / 0.8366 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.1773, allocations: 20.86 kB / 0.8366 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1773, allocations: 3.938 kB / 0.8366 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.1774, allocations: 69.52 kB / 0.8367 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1774, allocations: 4 kB / 0.8367 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1774, allocations: 3.938 kB / 0.8367 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1774, allocations: 4 kB / 0.8367 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.1775, allocations: 7.984 kB / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1775, allocations: 4 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.1775, allocations: 0 / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.1775, allocations: 4 kB / 0.8367 GB, free: 4.453 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.569e-05/0.1776, allocations: 114.5 kB / 0.8368 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.1776, allocations: 3.938 kB / 0.8368 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.1778, allocations: 81.31 kB / 0.8369 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1778, allocations: 4.5 kB / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1778, allocations: 0 / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1778, allocations: 0 / 0.8369 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1779, allocations: 132.8 kB / 0.8371 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1779, allocations: 4 kB / 0.8371 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.1779, allocations: 15.92 kB / 0.8371 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1779, allocations: 0 / 0.8371 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.178, allocations: 0 / 0.8371 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.178, allocations: 4 kB / 0.8371 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.178, allocations: 0 / 0.8371 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1781, allocations: 81.12 kB / 0.8372 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.1781, allocations: 15.86 kB / 0.8372 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.1781, allocations: 7.938 kB / 0.8372 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.1781, allocations: 11.92 kB / 0.8372 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.1781, allocations: 4 kB / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1781, allocations: 0 / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.1782, allocations: 79.28 kB / 0.8373 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1782, allocations: 0 / 0.8373 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00024/0.1784, allocations: 35.92 kB / 0.8373 GB, free: 3.789 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.0007379/0.1792, allocations: 0.6669 MB / 0.838 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1793, allocations: 27.92 kB / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1793, allocations: 0 / 0.838 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.1794, allocations: 19.98 kB / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1796, allocations: 0 / 0.838 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.1802, allocations: 168.5 kB / 0.8382 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1806, allocations: 0.6768 MB / 0.8388 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1807, allocations: 11.94 kB / 0.8388 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.1807, allocations: 15.42 kB / 0.8388 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1807, allocations: 0 / 0.8388 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.2146, allocations: 2.448 MB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.88, allocations: 9.125 kB / 0.8412 GB, free: 15.79 MB / 0.5919 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.86033573700115] Failed to read output from testmodel.py, exit status != 0: 10.989152556052431 11.019442409 10.838931695 Calling exit ...