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.001519/0.001519, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001431/0.001431, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002469/0.002469, allocations: 289.9 kB / 313.5 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.182/1.182, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.00269/0.00269, allocations: 95.88 kB / 0.7403 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1808, allocations: 95.38 MB / 0.8335 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002306/0.1831, allocations: 1.278 MB / 0.8347 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1844, allocations: 0.7733 MB / 0.8355 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1844, allocations: 0 / 0.8355 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.1844, allocations: 3.984 kB / 0.8355 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.489e-05/0.1845, allocations: 3.938 kB / 0.8355 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.1849, allocations: 135.6 kB / 0.8356 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.1849, allocations: 27.81 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.185, allocations: 3.984 kB / 0.8356 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1851, allocations: 19.98 kB / 0.8357 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.1851, allocations: 11.92 kB / 0.8357 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1851, allocations: 4 kB / 0.8357 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1854, allocations: 167.8 kB / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1855, allocations: 11.94 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1855, allocations: 7.938 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1857, allocations: 112 kB / 0.836 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1857, allocations: 0 / 0.836 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1857, allocations: 3.938 kB / 0.836 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1857, allocations: 0 / 0.836 GB, free: 6.133 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.0003728/0.1861, allocations: 270.2 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1861, allocations: 13.34 kB / 0.8362 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.446e-05/0.1861, allocations: 8.188 kB / 0.8362 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.1862, allocations: 34.73 kB / 0.8363 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.1862, allocations: 4.938 kB / 0.8363 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1863, allocations: 106.5 kB / 0.8364 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1863, allocations: 4.375 kB / 0.8364 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1864, allocations: 4.375 kB / 0.8364 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1865, allocations: 45.62 kB / 0.8364 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1865, allocations: 4 kB / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1865, allocations: 0 / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1865, allocations: 3.938 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.272e-05/0.1865, allocations: 27.97 kB / 0.8365 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1867, allocations: 132.8 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.1868, allocations: 38.56 kB / 0.8366 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.1868, allocations: 16.97 kB / 0.8366 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.1871, allocations: 39.91 kB / 0.8367 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1871, allocations: 30.56 kB / 0.8367 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1872, allocations: 0 / 0.8367 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001827/0.1873, allocations: 65.62 kB / 0.8368 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1874, allocations: 55.41 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.1875, allocations: 93.84 kB / 0.8369 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1875, allocations: 29.7 kB / 0.8369 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.1875, allocations: 88.2 kB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1875, allocations: 15.84 kB / 0.837 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1876, allocations: 21.7 kB / 0.8371 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1877, allocations: 314.8 kB / 0.8374 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.1877, allocations: 7.938 kB / 0.8374 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.1878, allocations: 8 kB / 0.8374 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.1878, allocations: 28.78 kB / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1878, allocations: 384 / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001227/0.188, allocations: 73.58 kB / 0.8375 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.188, allocations: 4 kB / 0.8375 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.188, allocations: 0 / 0.8375 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.188, allocations: 4 kB / 0.8375 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.1881, allocations: 4 kB / 0.8375 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1881, allocations: 4 kB / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.1881, allocations: 0 / 0.8375 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1881, allocations: 0 / 0.8375 GB, free: 4.371 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 9.988e-05/0.1882, allocations: 118.5 kB / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.1882, allocations: 3.938 kB / 0.8376 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.1884, allocations: 85.31 kB / 0.8377 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1884, allocations: 4 kB / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1884, allocations: 0 / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1884, allocations: 0 / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1885, allocations: 132.7 kB / 0.8378 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1885, allocations: 3.938 kB / 0.8378 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.1885, allocations: 8 kB / 0.8378 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1886, allocations: 0 / 0.8378 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1886, allocations: 4 kB / 0.8378 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1886, allocations: 7.984 kB / 0.8378 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1886, allocations: 0 / 0.8378 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1887, allocations: 85.06 kB / 0.8379 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.1887, allocations: 11.88 kB / 0.8379 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.1887, allocations: 0 / 0.8379 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.1887, allocations: 4 kB / 0.8379 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.1888, allocations: 7.984 kB / 0.8379 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1888, allocations: 4.188 kB / 0.838 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.1888, allocations: 79.28 kB / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1888, allocations: 0 / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002413/0.189, allocations: 31.94 kB / 0.8381 GB, free: 3.711 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.0006043/0.1896, allocations: 0.6747 MB / 0.8387 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.1898, allocations: 27.98 kB / 0.8387 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1898, allocations: 0 / 0.8387 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.1898, allocations: 19.94 kB / 0.8388 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1899, allocations: 8.531 kB / 0.8388 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1904, allocations: 164.5 kB / 0.8389 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1907, allocations: 0.6845 MB / 0.8396 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.1907, allocations: 11.94 kB / 0.8396 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1908, allocations: 15.44 kB / 0.8396 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.1908, allocations: 0 / 0.8396 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.2137, allocations: 2.478 MB / 0.842 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.83, allocations: 14.44 kB / 0.8421 GB, free: 15.68 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.93727868195856] Failed to read output from testmodel.py, exit status != 0: 10.987932889023796 11.010717685 10.820945596 Calling exit ...