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.001126/0.001126, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.0014/0.0014, allocations: 217.5 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.421/1.421, 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.002538/0.002538, allocations: 290 kB / 313.5 MB, free: 2.824 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.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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.002718/0.002718, allocations: 101 kB / 0.7403 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1698, allocations: 95.38 MB / 0.8335 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002727/0.1725, allocations: 1.282 MB / 0.8347 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1741, allocations: 0.9484 MB / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1741, allocations: 0 / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.1741, allocations: 0 / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.1741, allocations: 7.938 kB / 0.8357 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1746, allocations: 139.5 kB / 0.8358 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.055e-05/0.1747, allocations: 27.92 kB / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.1747, allocations: 0 / 0.8358 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1748, allocations: 27.86 kB / 0.8358 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.1749, allocations: 15.97 kB / 0.8359 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1749, allocations: 0 / 0.8359 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.1752, allocations: 171.8 kB / 0.836 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.1752, allocations: 4 kB / 0.836 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.1752, allocations: 11.94 kB / 0.836 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1755, allocations: 135.9 kB / 0.8362 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1755, allocations: 3.938 kB / 0.8362 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1755, allocations: 4 kB / 0.8362 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1755, allocations: 0 / 0.8362 GB, free: 5.895 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.0004162/0.1759, allocations: 278.1 kB / 0.8364 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1759, allocations: 13.34 kB / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.472e-05/0.1759, allocations: 4.125 kB / 0.8365 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.176, allocations: 34.75 kB / 0.8365 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.1761, allocations: 8.875 kB / 0.8365 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.887e-05/0.1762, allocations: 110.5 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.1762, allocations: 8.375 kB / 0.8366 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1762, allocations: 384 / 0.8366 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1763, allocations: 49.61 kB / 0.8367 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1763, allocations: 0 / 0.8367 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1763, allocations: 0 / 0.8367 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1763, allocations: 4 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.815e-05/0.1764, allocations: 23.92 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.1766, allocations: 132.7 kB / 0.8368 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.1766, allocations: 42.62 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.1767, allocations: 16.84 kB / 0.8369 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.054e-05/0.1768, allocations: 11.94 kB / 0.8369 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1768, allocations: 34.69 kB / 0.8369 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1768, allocations: 0 / 0.8369 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001791/0.177, allocations: 65.62 kB / 0.837 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.177, allocations: 51.41 kB / 0.837 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.1771, allocations: 101.8 kB / 0.8371 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1771, allocations: 25.7 kB / 0.8371 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1771, allocations: 88.12 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1772, allocations: 7.906 kB / 0.8372 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.1772, allocations: 21.72 kB / 0.8373 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1773, allocations: 314.8 kB / 0.8376 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1774, allocations: 8 kB / 0.8376 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.1774, allocations: 8 kB / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/0.1774, allocations: 28.97 kB / 0.8376 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1774, allocations: 4 kB / 0.8376 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.671e-05/0.1775, allocations: 61.52 kB / 0.8377 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1775, allocations: 10.66 kB / 0.8377 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1775, allocations: 448 / 0.8377 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1776, allocations: 0 / 0.8377 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.1776, allocations: 8 kB / 0.8377 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1776, allocations: 3.984 kB / 0.8377 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.1777, allocations: 8 kB / 0.8377 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1777, allocations: 4 kB / 0.8377 GB, free: 4.145 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.548e-05/0.1778, allocations: 118.4 kB / 0.8378 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.1778, allocations: 15.86 kB / 0.8378 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.178, allocations: 85.25 kB / 0.8379 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.178, allocations: 0 / 0.8379 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.178, allocations: 4 kB / 0.8379 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.178, allocations: 0 / 0.8379 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.1781, allocations: 132.8 kB / 0.838 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1781, allocations: 7.938 kB / 0.838 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.1782, allocations: 8 kB / 0.838 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1782, allocations: 0 / 0.838 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1782, allocations: 7.984 kB / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1782, allocations: 0 / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1782, allocations: 0 / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1783, allocations: 85.06 kB / 0.8381 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.1783, allocations: 7.938 kB / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1783, allocations: 4 kB / 0.8381 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.1783, allocations: 0 / 0.8381 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.1784, allocations: 7.984 kB / 0.8382 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1784, allocations: 0 / 0.8382 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.128e-05/0.1784, allocations: 83.28 kB / 0.8382 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 0 / 0.8382 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002475/0.1787, allocations: 51.8 kB / 0.8383 GB, free: 3.457 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.0005724/0.1792, allocations: 0.6864 MB / 0.839 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.1793, allocations: 28.19 kB / 0.839 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1793, allocations: 0 / 0.839 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.1794, allocations: 15.98 kB / 0.839 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1795, allocations: 4 kB / 0.839 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1799, allocations: 184.3 kB / 0.8392 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1802, allocations: 0.6845 MB / 0.8398 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.1803, allocations: 7.984 kB / 0.8399 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1803, allocations: 11.44 kB / 0.8399 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1803, allocations: 0 / 0.8399 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2024, allocations: 2.334 MB / 0.8421 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.86, allocations: 8.047 kB / 0.8422 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.930761132040061] Failed to read output from testmodel.py, exit status != 0: 11.015698451024946 11.031529699 10.853039273 Calling exit ...