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.001232/0.001232, 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.001342/0.001342, allocations: 217.5 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002456/0.002456, allocations: 289 kB / 313.5 MB, free: 2.613 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.164/1.164, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_ConvectiveHeatTransfer_Examples_AlphaGap",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.002814/0.002814, allocations: 89.23 kB / 0.7402 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1724, allocations: 95.39 MB / 0.8334 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002457/0.1749, allocations: 1.27 MB / 0.8346 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1762, allocations: 0.8434 MB / 0.8354 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1763, allocations: 4 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1763, allocations: 0 / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.1763, allocations: 11.86 kB / 0.8354 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.1768, allocations: 139.5 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.414e-05/0.1769, allocations: 35.78 kB / 0.8356 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1769, allocations: 0 / 0.8356 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.177, allocations: 19.98 kB / 0.8356 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.1771, allocations: 15.92 kB / 0.8357 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1771, allocations: 4 kB / 0.8357 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.1774, allocations: 167.8 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.1774, allocations: 7.969 kB / 0.8358 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1774, allocations: 11.94 kB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1776, allocations: 131.9 kB / 0.836 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1776, allocations: 3.938 kB / 0.836 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1776, allocations: 0 / 0.836 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1776, allocations: 0 / 0.836 GB, free: 5.711 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.0003923/0.178, allocations: 290 kB / 0.8362 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1781, allocations: 13.94 kB / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.534e-05/0.1781, allocations: 192 / 0.8363 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1781, allocations: 34.75 kB / 0.8363 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.1782, allocations: 4.922 kB / 0.8363 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1783, allocations: 110.5 kB / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1783, allocations: 384 / 0.8364 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1783, allocations: 8.375 kB / 0.8364 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1784, allocations: 45.62 kB / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1784, allocations: 0 / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1785, allocations: 0 / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1785, allocations: 4 kB / 0.8365 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.1785, allocations: 31.91 kB / 0.8365 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1787, allocations: 128.8 kB / 0.8366 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.1788, allocations: 38.56 kB / 0.8366 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1788, allocations: 16.97 kB / 0.8367 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.1789, allocations: 11.94 kB / 0.8367 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1789, allocations: 30.56 kB / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1789, allocations: 0 / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001782/0.1791, allocations: 65.62 kB / 0.8368 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1792, allocations: 55.41 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.1792, allocations: 101.8 kB / 0.8369 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1792, allocations: 25.7 kB / 0.8369 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.1793, allocations: 84.14 kB / 0.837 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1793, allocations: 7.906 kB / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1793, allocations: 21.7 kB / 0.837 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1795, allocations: 318.8 kB / 0.8373 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1795, allocations: 4 kB / 0.8374 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.1795, allocations: 7.938 kB / 0.8374 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.011e-05/0.1796, allocations: 41.16 kB / 0.8374 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1796, allocations: 3.938 kB / 0.8374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.886e-05/0.1797, allocations: 65.7 kB / 0.8375 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1797, allocations: 8 kB / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1797, allocations: 0 / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1797, allocations: 0 / 0.8375 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.1798, allocations: 8 kB / 0.8375 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1798, allocations: 0 / 0.8375 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.1798, allocations: 0 / 0.8375 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1798, allocations: 4 kB / 0.8375 GB, free: 3.961 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.396e-05/0.1799, allocations: 114.5 kB / 0.8376 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.1799, allocations: 7.938 kB / 0.8376 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.1801, allocations: 89.28 kB / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1801, allocations: 4 kB / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1801, allocations: 0 / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1801, allocations: 0 / 0.8377 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1802, allocations: 136.7 kB / 0.8378 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1802, allocations: 3.938 kB / 0.8378 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.1803, allocations: 8 kB / 0.8378 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1803, allocations: 0 / 0.8378 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1803, allocations: 8 kB / 0.8378 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1803, allocations: 0 / 0.8378 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1803, allocations: 0 / 0.8378 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.1804, allocations: 93.19 kB / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.1804, allocations: 7.922 kB / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1804, allocations: 0 / 0.8379 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.89e-05/0.1805, allocations: 4 kB / 0.8379 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1805, allocations: 4 kB / 0.8379 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1805, allocations: 4 kB / 0.8379 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.1805, allocations: 79.27 kB / 0.838 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1805, allocations: 96 / 0.838 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002456/0.1808, allocations: 55.81 kB / 0.8381 GB, free: 3.273 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.0005796/0.1814, allocations: 0.6869 MB / 0.8387 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1815, allocations: 31.98 kB / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1815, allocations: 0 / 0.8388 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.1815, allocations: 19.94 kB / 0.8388 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1816, allocations: 2.344 kB / 0.8388 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.182, allocations: 172.4 kB / 0.839 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.53e-05/0.1821, allocations: 71.23 kB / 0.839 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.1821, allocations: 7.984 kB / 0.839 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1822, allocations: 15.44 kB / 0.8391 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1822, allocations: 4 kB / 0.8391 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.2055, allocations: 2.348 MB / 0.8414 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.9, allocations: 8.047 kB / 0.8414 GB, free: 15.98 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.931352252024226] Failed to read output from testmodel.py, exit status != 0: 11.053718148963526 11.068929956 10.888397721 Calling exit ...