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.001343/0.001343, allocations: 83.05 kB / 19.02 MB, free: 2.723 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.001447/0.001447, allocations: 160 kB / 22.26 MB, free: 4.715 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.401/1.401, allocations: 177.2 MB / 202.6 MB, free: 9.27 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.002499/0.002499, allocations: 234.2 kB / 259.3 MB, free: 0.5859 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.033/1.033, allocations: 138.5 MB / 454.2 MB, free: 2.023 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: 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.003102/0.003102, allocations: 107.8 kB / 0.6466 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4221, allocations: 95.33 MB / 0.7397 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002433/0.4245, allocations: 1.273 MB / 0.7409 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4261, allocations: 0.8438 MB / 0.7417 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.4261, allocations: 0 / 0.7417 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.4261, allocations: 3.938 kB / 0.7417 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.4262, allocations: 3.984 kB / 0.7418 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.4267, allocations: 147.4 kB / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.4267, allocations: 23.94 kB / 0.7419 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.4268, allocations: 3.984 kB / 0.7419 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.4269, allocations: 27.91 kB / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.427, allocations: 8 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.427, allocations: 4 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.4273, allocations: 167.8 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.4273, allocations: 3.984 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.4273, allocations: 11.92 kB / 0.7421 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.4276, allocations: 141 kB / 0.7423 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4276, allocations: 0 / 0.7423 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4276, allocations: 0 / 0.7423 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4276, allocations: 0 / 0.7423 GB, free: 12.56 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.000394/0.428, allocations: 286 kB / 0.7425 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.428, allocations: 9.344 kB / 0.7426 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.4281, allocations: 12.91 kB / 0.7426 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4283, allocations: 114.4 kB / 0.7427 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4283, allocations: 4.375 kB / 0.7427 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.4283, allocations: 4.375 kB / 0.7427 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.4284, allocations: 50 kB / 0.7427 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4284, allocations: 3.938 kB / 0.7427 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.4284, allocations: 0 / 0.7427 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4284, allocations: 0 / 0.7427 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.098e-05/0.4285, allocations: 27.97 kB / 0.7428 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.4286, allocations: 101.3 kB / 0.7429 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.4287, allocations: 46.56 kB / 0.7429 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.4287, allocations: 12.98 kB / 0.7429 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.4289, allocations: 11.98 kB / 0.7429 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4289, allocations: 30.56 kB / 0.743 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.4289, allocations: 0 / 0.743 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0001896/0.4291, allocations: 73.56 kB / 0.743 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4291, allocations: 55.41 kB / 0.7431 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.4292, allocations: 93.86 kB / 0.7432 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4292, allocations: 25.7 kB / 0.7432 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.4293, allocations: 88.12 kB / 0.7433 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.4293, allocations: 7.906 kB / 0.7433 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.4293, allocations: 17.72 kB / 0.7433 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4295, allocations: 322.8 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.4295, allocations: 4 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.4295, allocations: 4.125 kB / 0.7436 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.989e-05/0.4296, allocations: 36.8 kB / 0.7436 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4296, allocations: 3.984 kB / 0.7437 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001024/0.4297, allocations: 54.09 kB / 0.7437 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4297, allocations: 10.03 kB / 0.7437 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4297, allocations: 3.938 kB / 0.7437 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4297, allocations: 3.984 kB / 0.7437 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.4298, allocations: 12 kB / 0.7437 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4298, allocations: 0 / 0.7437 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.4298, allocations: 3.938 kB / 0.7437 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4298, allocations: 4 kB / 0.7437 GB, free: 10.88 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.399e-05/0.4299, allocations: 113.8 kB / 0.7438 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.4299, allocations: 7.938 kB / 0.7439 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.4301, allocations: 77.42 kB / 0.7439 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4301, allocations: 3.984 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4301, allocations: 4 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4301, allocations: 3.938 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.4302, allocations: 105.3 kB / 0.744 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4302, allocations: 8 kB / 0.744 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.4303, allocations: 11.98 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4303, allocations: 0 / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4303, allocations: 3.938 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4303, allocations: 3.938 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4303, allocations: 4 kB / 0.7441 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.4304, allocations: 85.06 kB / 0.7442 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.4304, allocations: 4 kB / 0.7442 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4305, allocations: 0 / 0.7442 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.367e-05/0.4305, allocations: 3.938 kB / 0.7442 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.4305, allocations: 7.984 kB / 0.7442 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.4305, allocations: 4 kB / 0.7442 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.4306, allocations: 83.28 kB / 0.7443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4306, allocations: 0 / 0.7443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002574/0.4308, allocations: 51.8 kB / 0.7443 GB, free: 10.24 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.000252/0.4311, allocations: 159 kB / 0.7445 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.4312, allocations: 27.92 kB / 0.7445 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4312, allocations: 0 / 0.7445 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.3e-05/0.4312, allocations: 20.23 kB / 0.7445 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4313, allocations: 8.094 kB / 0.7445 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.4316, allocations: 130.9 kB / 0.7446 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.923e-05/0.4317, allocations: 63.34 kB / 0.7447 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.4317, allocations: 7.984 kB / 0.7447 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.4318, allocations: 16.5 kB / 0.7447 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4318, allocations: 0 / 0.7447 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of Templates: time 0.003938/0.4357, allocations: 1.215 MB / 0.7459 GB, free: 8.547 MB / 0.5762 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.804284863173962] Failed to read output from testmodel.py, exit status != 0: 0.4439761396497488 0.459099747 0.028346739000000003 Calling exit ...