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.001364/0.001364, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001941/0.001941, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.439/1.439, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.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.002595/0.002595, allocations: 233.2 kB / 259.4 MB, free: 492 kB / 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.172/1.172, allocations: 138.4 MB / 454.3 MB, free: 1.992 MB / 366.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: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6467 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.006e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002645/0.002675, allocations: 1.281 MB / 0.648 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004355, allocations: 0.8463 MB / 0.6488 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.004395, allocations: 0 / 0.6488 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.004423, allocations: 7.922 kB / 0.6488 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.004472, allocations: 7.984 kB / 0.6488 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.005176, allocations: 139.4 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.005263, allocations: 27.86 kB / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.005311, allocations: 0 / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.005499, allocations: 23.92 kB / 0.649 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.005578, allocations: 19.91 kB / 0.649 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.005598, allocations: 0 / 0.649 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.006011, allocations: 163.8 kB / 0.6492 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.00603, allocations: 4 kB / 0.6492 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.006067, allocations: 15.98 kB / 0.6492 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.006474, allocations: 159.5 kB / 0.6494 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006476, allocations: 0 / 0.6494 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.006477, allocations: 0 / 0.6494 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.006484, allocations: 4 kB / 0.6494 GB, free: 2.324 MB / 0.5606 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.0005254/0.007009, allocations: 278.1 kB / 0.6496 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.007061, allocations: 9.344 kB / 0.6496 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.007179, allocations: 4.938 kB / 0.6497 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.007321, allocations: 113.7 kB / 0.6498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.007345, allocations: 8.312 kB / 0.6498 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.007355, allocations: 4.375 kB / 0.6498 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.007492, allocations: 42.25 kB / 0.6498 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.007503, allocations: 192 / 0.6498 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.007515, allocations: 4.375 kB / 0.6498 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007523, allocations: 3.938 kB / 0.6498 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.371e-05/0.007607, allocations: 23.97 kB / 0.6498 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.007801, allocations: 109.4 kB / 0.6499 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.007908, allocations: 38.5 kB / 0.65 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.007949, allocations: 20.78 kB / 0.65 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.008075, allocations: 8.125 kB / 0.65 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.00811, allocations: 34.56 kB / 0.65 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.008111, allocations: 4 kB / 0.65 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002437/0.008355, allocations: 69.62 kB / 0.6501 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.008418, allocations: 55.34 kB / 0.6502 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.538e-05/0.008513, allocations: 97.84 kB / 0.6503 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.008537, allocations: 29.7 kB / 0.6503 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.008585, allocations: 80.14 kB / 0.6504 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.008629, allocations: 15.86 kB / 0.6504 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.008674, allocations: 21.66 kB / 0.6504 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.008831, allocations: 314.8 kB / 0.6507 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.008859, allocations: 8.125 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.008878, allocations: 12 kB / 0.6507 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.008946, allocations: 28.84 kB / 0.6507 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008948, allocations: 0 / 0.6507 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.009065, allocations: 57.69 kB / 0.6508 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.009081, allocations: 4 kB / 0.6508 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.009086, allocations: 0 / 0.6508 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.009102, allocations: 0 / 0.6508 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.009198, allocations: 11.94 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.009206, allocations: 3.938 kB / 0.6508 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.009231, allocations: 7.938 kB / 0.6508 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.009239, allocations: 4 kB / 0.6508 GB, free: 0.6562 MB / 0.5606 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.51e-05/0.009334, allocations: 109.8 kB / 0.6509 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.009349, allocations: 3.984 kB / 0.6509 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.009576, allocations: 89.42 kB / 0.651 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009578, allocations: 0 / 0.651 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.009586, allocations: 3.938 kB / 0.651 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009589, allocations: 0 / 0.651 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.0097, allocations: 109.3 kB / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009702, allocations: 0.5 kB / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.009758, allocations: 15.92 kB / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00976, allocations: 0 / 0.6512 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.009772, allocations: 8 kB / 0.6512 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.009774, allocations: 0 / 0.6512 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009775, allocations: 0 / 0.6512 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.009911, allocations: 85.06 kB / 0.6512 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.009921, allocations: 3.953 kB / 0.6512 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.009939, allocations: 8 kB / 0.6513 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.009961, allocations: 3.938 kB / 0.6513 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.009982, allocations: 7.984 kB / 0.6513 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.009991, allocations: 11.88 kB / 0.6513 GB, free: 144 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.01003, allocations: 75.28 kB / 0.6513 GB, free: 68 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.01003, allocations: 0 / 0.6513 GB, free: 68 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002706/0.0103, allocations: 55.8 kB / 0.6514 GB, free: 12 kB / 0.5606 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.293/0.3033, allocations: 160 kB / 0.6516 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3035, allocations: 30.34 kB / 0.6516 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3035, allocations: 0 / 0.6516 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.3036, allocations: 16.75 kB / 0.6516 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3038, allocations: 5.766 kB / 0.6516 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.3042, allocations: 117.5 kB / 0.6517 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.3042, allocations: 66.56 kB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.3043, allocations: 16.91 kB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.3043, allocations: 12.56 kB / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.3043, allocations: 0 / 0.6518 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.00486/0.3092, allocations: 1.226 MB / 0.653 GB, free: 56.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.891750670969486] Failed to read output from testmodel.py, exit status != 0: 0.3181300684809685 0.33236750299999995 0.323591202 Calling exit ...