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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8622/0.8622, allocations: 143.4 MB / 159.2 MB, free: 4.906 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 188.5 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 447.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107.7 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001934/0.001934, allocations: 273.5 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 83.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4024, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002202/0.4047, allocations: 1.324 MB / 0.7692 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.4058, allocations: 0.8941 MB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.4058, allocations: 4 kB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.4059, allocations: 0 / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.4059, allocations: 7.922 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.4064, allocations: 99.67 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.339e-05/0.4065, allocations: 27.92 kB / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.4065, allocations: 0 / 0.7702 GB, free: 25.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4066, allocations: 23.91 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.4067, allocations: 12 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4068, allocations: 0 / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.4071, allocations: 163.8 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.4071, allocations: 3.984 kB / 0.7704 GB, free: 25.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.4071, allocations: 7.938 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.4074, allocations: 134.3 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4074, allocations: 4 kB / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4074, allocations: 0 / 0.7705 GB, free: 24.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4074, allocations: 0 / 0.7705 GB, free: 24.95 MB / 458.7 MB 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.0004587/0.4079, allocations: 351.5 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4079, allocations: 8.031 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.408, allocations: 12.83 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.4081, allocations: 160.4 kB / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4081, allocations: 384 / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4081, allocations: 4.375 kB / 0.7711 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4082, allocations: 46 kB / 0.7711 GB, free: 24.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4083, allocations: 3.938 kB / 0.7711 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.4083, allocations: 0 / 0.7711 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4083, allocations: 3.938 kB / 0.7711 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.877e-05/0.4084, allocations: 35.91 kB / 0.7711 GB, free: 24.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.4085, allocations: 157.7 kB / 0.7713 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.4086, allocations: 38.56 kB / 0.7713 GB, free: 23.99 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.4087, allocations: 16.98 kB / 0.7713 GB, free: 23.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/0.4088, allocations: 89.08 kB / 0.7714 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4088, allocations: 34.5 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4088, allocations: 4 kB / 0.7715 GB, free: 23.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002005/0.409, allocations: 65.62 kB / 0.7715 GB, free: 23.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.4091, allocations: 55.41 kB / 0.7716 GB, free: 23.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.4091, allocations: 89.86 kB / 0.7717 GB, free: 23.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.4092, allocations: 29.7 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.025e-05/0.4092, allocations: 84.14 kB / 0.7718 GB, free: 23.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4092, allocations: 19.64 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.4093, allocations: 17.72 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.4093, allocations: 319 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.4094, allocations: 11.98 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.4094, allocations: 4.375 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.4094, allocations: 28.86 kB / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4094, allocations: 0 / 0.7722 GB, free: 23.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.637e-05/0.4095, allocations: 61.62 kB / 0.7722 GB, free: 22.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4095, allocations: 9.031 kB / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4096, allocations: 0 / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.4096, allocations: 4 kB / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.4097, allocations: 11.98 kB / 0.7722 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.4097, allocations: 4 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.4097, allocations: 0 / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.4097, allocations: 0 / 0.7723 GB, free: 22.96 MB / 458.7 MB 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 6.852e-05/0.4098, allocations: 110.4 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.4098, allocations: 3.938 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.41, allocations: 89.17 kB / 0.7724 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.41, allocations: 0 / 0.7724 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.41, allocations: 0 / 0.7724 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.41, allocations: 0 / 0.7724 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.053e-05/0.4101, allocations: 173.4 kB / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4101, allocations: 0 / 0.7726 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.4102, allocations: 12 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4102, allocations: 3.938 kB / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4102, allocations: 0 / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4102, allocations: 0 / 0.7726 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4102, allocations: 4.125 kB / 0.7726 GB, free: 22.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.4105, allocations: 0.6474 MB / 0.7733 GB, free: 21.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.4105, allocations: 85.03 kB / 0.7733 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.4106, allocations: 3.984 kB / 0.7733 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.051e-05/0.4106, allocations: 0 / 0.7733 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.4106, allocations: 4 kB / 0.7734 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4106, allocations: 8 kB / 0.7734 GB, free: 21.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.4107, allocations: 83.22 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 0 / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003713/0.411, allocations: 51.92 kB / 0.7735 GB, free: 21.55 MB / 458.7 MB 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.0002096/0.4113, allocations: 159.1 kB / 0.7736 GB, free: 21.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.326e-05/0.4114, allocations: 20 kB / 0.7737 GB, free: 21.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4114, allocations: 4 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.4114, allocations: 28.02 kB / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.4115, allocations: 2.578 kB / 0.7737 GB, free: 21.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.4119, allocations: 247.2 kB / 0.7739 GB, free: 21.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.412, allocations: 0.6809 MB / 0.7746 GB, free: 20.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.412, allocations: 11.98 kB / 0.7746 GB, free: 20.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.4121, allocations: 11.44 kB / 0.7746 GB, free: 20.32 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4121, allocations: 0 / 0.7746 GB, free: 20.32 MB / 458.7 MB Notification: Performance of Templates: time 0.003048/0.4151, allocations: 1.176 MB / 0.7758 GB, free: 19.15 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (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)