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.00126/0.00126, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001361/0.001361, allocations: 161.9 kB / 23.01 MB, free: 4.598 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.37/1.37, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 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.002338/0.002338, allocations: 230.5 kB / 260 MB, free: 500 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 0.9049/0.9049, allocations: 138.5 MB / 455 MB, free: 15.12 MB / 430.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.003059/0.003059, allocations: 99.84 kB / 0.6473 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4136, allocations: 95.34 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002511/0.4161, allocations: 1.26 MB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.4175, allocations: 0.8473 MB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.4175, allocations: 1.125 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.4175, allocations: 5.203 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.4176, allocations: 6.047 kB / 0.7425 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.4181, allocations: 140.2 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.4182, allocations: 31.5 kB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.4182, allocations: 6.234 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.4184, allocations: 20.61 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.4184, allocations: 12.77 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.4185, allocations: 6.375 kB / 0.7427 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.4188, allocations: 164.4 kB / 0.7429 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.4188, allocations: 9.875 kB / 0.7429 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.4188, allocations: 5.344 kB / 0.7429 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.4191, allocations: 133 kB / 0.743 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4191, allocations: 0 / 0.743 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.317e-06/0.4191, allocations: 4 kB / 0.743 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4191, allocations: 0.6562 kB / 0.743 GB, free: 15.83 MB / 0.5919 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.0003702/0.4195, allocations: 291.3 kB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4195, allocations: 11.22 kB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4196, allocations: 3.922 kB / 0.7433 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.4197, allocations: 110.5 kB / 0.7434 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.4197, allocations: 2.062 kB / 0.7434 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.4198, allocations: 1.438 kB / 0.7434 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4199, allocations: 50.94 kB / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4199, allocations: 0 / 0.7434 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4199, allocations: 8 kB / 0.7435 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4199, allocations: 5.156 kB / 0.7435 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.554e-05/0.4199, allocations: 21.19 kB / 0.7435 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.4201, allocations: 104.9 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.605e-05/0.4201, allocations: 44.11 kB / 0.7436 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.4201, allocations: 10.94 kB / 0.7436 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.4203, allocations: 12.98 kB / 0.7436 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.4203, allocations: 37.22 kB / 0.7437 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4203, allocations: 0 / 0.7437 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5): time 0.0001777/0.4204, allocations: 65.44 kB / 0.7437 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.4205, allocations: 57.86 kB / 0.7438 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.204e-05/0.4205, allocations: 93.03 kB / 0.7439 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-06/0.4205, allocations: 25.7 kB / 0.7439 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.348e-05/0.4205, allocations: 85.98 kB / 0.744 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.4206, allocations: 11.33 kB / 0.744 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.4206, allocations: 20.53 kB / 0.744 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4206, allocations: 313.5 kB / 0.7443 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.336e-05/0.4207, allocations: 13.08 kB / 0.7443 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.4207, allocations: 7.125 kB / 0.7443 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.4207, allocations: 27.02 kB / 0.7444 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4207, allocations: 128 / 0.7444 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.732e-05/0.4208, allocations: 60.84 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4208, allocations: 5.5 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4208, allocations: 8.578 kB / 0.7444 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4209, allocations: 3.984 kB / 0.7444 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.4209, allocations: 9.797 kB / 0.7445 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4209, allocations: 7.875 kB / 0.7445 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.421, allocations: 9.312 kB / 0.7445 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.421, allocations: 2.562 kB / 0.7445 GB, free: 14.39 MB / 0.5919 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 4.866e-05/0.421, allocations: 109.4 kB / 0.7446 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.421, allocations: 1.375 kB / 0.7446 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4212, allocations: 92.14 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4212, allocations: 1.375 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4212, allocations: 0 / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4212, allocations: 2.078 kB / 0.7447 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.86e-05/0.4213, allocations: 114 kB / 0.7448 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4213, allocations: 0 / 0.7448 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.4213, allocations: 18.66 kB / 0.7448 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4213, allocations: 4 kB / 0.7448 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4213, allocations: 2.234 kB / 0.7448 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4213, allocations: 6.703 kB / 0.7448 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4213, allocations: 0 / 0.7448 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.371e-05/0.4214, allocations: 80.42 kB / 0.7449 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.4214, allocations: 3.047 kB / 0.7449 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4215, allocations: 4 kB / 0.7449 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.4215, allocations: 5.672 kB / 0.7449 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.4215, allocations: 4.406 kB / 0.7449 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.4215, allocations: 2.047 kB / 0.7449 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.705e-05/0.4215, allocations: 81.98 kB / 0.745 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4215, allocations: 0 / 0.745 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002552/0.4218, allocations: 54.92 kB / 0.745 GB, free: 13.89 MB / 0.5919 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.0002069/0.422, allocations: 156.5 kB / 0.7452 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.865e-05/0.4221, allocations: 33.69 kB / 0.7452 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4221, allocations: 0 / 0.7452 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.4221, allocations: 16.7 kB / 0.7452 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.4222, allocations: 6.594 kB / 0.7452 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.4225, allocations: 123.7 kB / 0.7454 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.4225, allocations: 62.23 kB / 0.7454 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.4225, allocations: 7.234 kB / 0.7454 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.4226, allocations: 17.05 kB / 0.7454 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.4226, allocations: 0 / 0.7454 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.003664/0.4262, allocations: 1.22 MB / 0.7466 GB, free: 13.41 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.642693959991448] Failed to read output from testmodel.py, exit status != 0: 0.4336787930224091 0.444233434 0.022666726 Calling exit ...