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.000912/0.000912, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009359/0.0009359, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8278/0.8278, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001401/0.001401, allocations: 236.9 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.633/0.633, allocations: 138.4 MB / 455.1 MB, free: 29.98 MB / 410.7 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.233e-06/1.233e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.754e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001373/0.001391, allocations: 1.27 MB / 0.6487 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2252/0.2266, allocations: 0.8372 MB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.2266, allocations: 0.9375 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.2266, allocations: 1.781 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.2267, allocations: 6.969 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.2271, allocations: 146 kB / 0.6497 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.2271, allocations: 22.78 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.2272, allocations: 6.609 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.2273, allocations: 23.44 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.2273, allocations: 12.83 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.2273, allocations: 1.844 kB / 0.6498 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.2276, allocations: 164 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.2276, allocations: 8.484 kB / 0.6499 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.2276, allocations: 13.27 kB / 0.6499 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.2278, allocations: 161.5 kB / 0.6501 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2278, allocations: 0.7812 kB / 0.6501 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2278, allocations: 1.094 kB / 0.6501 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2278, allocations: 0 / 0.6501 GB, free: 56.29 MB / 0.5573 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.0002673/0.2281, allocations: 279.5 kB / 0.6504 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2281, allocations: 12.77 kB / 0.6504 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.2282, allocations: 5.281 kB / 0.6504 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.59e-05/0.2282, allocations: 116.4 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2283, allocations: 5 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.2283, allocations: 6.531 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.2283, allocations: 43.06 kB / 0.6505 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2284, allocations: 1.625 kB / 0.6505 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2284, allocations: 384 / 0.6505 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2284, allocations: 5.328 kB / 0.6505 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.2284, allocations: 29.02 kB / 0.6506 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.652e-05/0.2285, allocations: 104 kB / 0.6507 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.2286, allocations: 36.61 kB / 0.6507 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.2286, allocations: 15.33 kB / 0.6507 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-05/0.2287, allocations: 11.97 kB / 0.6507 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2287, allocations: 36.19 kB / 0.6508 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.2287, allocations: 0 / 0.6508 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.000141/0.2288, allocations: 67.59 kB / 0.6508 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.2289, allocations: 56.72 kB / 0.6509 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.36e-05/0.2289, allocations: 94.72 kB / 0.651 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-06/0.2289, allocations: 32.86 kB / 0.651 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.127e-06/0.2289, allocations: 83.05 kB / 0.6511 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.2289, allocations: 11.42 kB / 0.6511 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.2289, allocations: 19.2 kB / 0.6511 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.504e-05/0.229, allocations: 317 kB / 0.6514 GB, free: 55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.229, allocations: 5.938 kB / 0.6514 GB, free: 55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.229, allocations: 12.44 kB / 0.6514 GB, free: 55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.229, allocations: 27.44 kB / 0.6515 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.229, allocations: 0.7812 kB / 0.6515 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.375e-05/0.2291, allocations: 60 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2291, allocations: 6.141 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2291, allocations: 1.125 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2291, allocations: 1.625 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.2292, allocations: 12.75 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2292, allocations: 5.406 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.2292, allocations: 0.8438 kB / 0.6515 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2292, allocations: 2.875 kB / 0.6515 GB, free: 54.95 MB / 0.5573 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 3.576e-05/0.2292, allocations: 113.8 kB / 0.6517 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.2293, allocations: 1.781 kB / 0.6517 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.2294, allocations: 92.81 kB / 0.6517 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2294, allocations: 0.9062 kB / 0.6517 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2294, allocations: 3.938 kB / 0.6517 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2294, allocations: 2.438 kB / 0.6517 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.992e-05/0.2294, allocations: 110 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2294, allocations: 1.797 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.2295, allocations: 10.7 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2295, allocations: 2.719 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2295, allocations: 3.062 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2295, allocations: 2.328 kB / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2295, allocations: 0 / 0.6519 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.2296, allocations: 90.12 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.2296, allocations: 6.297 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2296, allocations: 8.516 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.2296, allocations: 2.594 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.2296, allocations: 3.438 kB / 0.652 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2296, allocations: 7.25 kB / 0.652 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.421e-05/0.2296, allocations: 77.94 kB / 0.6521 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2296, allocations: 0 / 0.6521 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001696/0.2298, allocations: 57.61 kB / 0.6521 GB, free: 54.5 MB / 0.5573 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.0001757/0.23, allocations: 165.2 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.23, allocations: 25.31 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.23, allocations: 3.281 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.2301, allocations: 17.25 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.2302, allocations: 6.766 kB / 0.6523 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.2304, allocations: 140.2 kB / 0.6525 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.731e-05/0.2304, allocations: 72.12 kB / 0.6525 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.2304, allocations: 14.83 kB / 0.6525 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of SimCode: time 3.21e-07/0.2304, allocations: 0 / 0.6525 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.002111/0.2325, allocations: 1.26 MB / 0.6538 GB, free: 54.08 MB / 0.5573 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: 4.870110349729657] Failed to read output from testmodel.py, exit status != 0: 0.23786614183336496 0.24645662200000001 0.017085089 Calling exit ...