Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8421/0.8421, allocations: 143.4 MB / 159.2 MB, free: 4.953 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.001544/0.001543, allocations: 194 kB / 191.9 MB, free: 5.742 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.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.895 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.001054/0.001054, allocations: 103.1 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 284.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 83.86 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3947, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002024/0.3968, allocations: 1.316 MB / 0.7692 GB, free: 26.33 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.3977, allocations: 0.7228 MB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.3978, allocations: 0 / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.3978, allocations: 0 / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.797e-05/0.3978, allocations: 3.984 kB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3981, allocations: 107.7 kB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.3982, allocations: 19.94 kB / 0.77 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3982, allocations: 11.92 kB / 0.77 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.3983, allocations: 15.94 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.3983, allocations: 11.92 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3984, allocations: 0 / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.3986, allocations: 155.8 kB / 0.7702 GB, free: 25.28 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.3986, allocations: 8 kB / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.3986, allocations: 15.86 kB / 0.7702 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.3988, allocations: 102.5 kB / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3988, allocations: 0 / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3988, allocations: 0 / 0.7703 GB, free: 25.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3988, allocations: 4 kB / 0.7703 GB, free: 25.16 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.0003274/0.3992, allocations: 351.5 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3992, allocations: 8.031 kB / 0.7707 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.3992, allocations: 8.844 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.345e-05/0.3993, allocations: 160.4 kB / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3993, allocations: 384 / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.3993, allocations: 4.375 kB / 0.7709 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.73e-05/0.3994, allocations: 50 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3994, allocations: 7.984 kB / 0.7709 GB, free: 24.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3995, allocations: 4 kB / 0.7709 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3995, allocations: 3.984 kB / 0.7709 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.3995, allocations: 23.92 kB / 0.7709 GB, free: 24.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.3997, allocations: 157.7 kB / 0.7711 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.3997, allocations: 38.56 kB / 0.7711 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.3998, allocations: 12.98 kB / 0.7711 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.4001, allocations: 186.2 kB / 0.7713 GB, free: 23.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4001, allocations: 42.48 kB / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.4001, allocations: 0 / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001569/0.4003, allocations: 61.62 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.4003, allocations: 59.41 kB / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.4003, allocations: 89.86 kB / 0.7716 GB, free: 23.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.4003, allocations: 25.7 kB / 0.7716 GB, free: 23.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.36e-05/0.4004, allocations: 84.27 kB / 0.7717 GB, free: 23.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4004, allocations: 27.64 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.4004, allocations: 13.72 kB / 0.7717 GB, free: 23.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.4005, allocations: 314.8 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.4005, allocations: 8 kB / 0.772 GB, free: 23.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.4005, allocations: 11.98 kB / 0.772 GB, free: 23.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.4006, allocations: 20.86 kB / 0.772 GB, free: 23.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4006, allocations: 0 / 0.772 GB, free: 23.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.049e-05/0.4006, allocations: 61.62 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4007, allocations: 13.5 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4007, allocations: 0 / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4007, allocations: 7.875 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.4008, allocations: 11.98 kB / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4008, allocations: 448 / 0.7721 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.4008, allocations: 4 kB / 0.7721 GB, free: 23.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4008, allocations: 0 / 0.7721 GB, free: 23.06 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 4.781e-05/0.4009, allocations: 110.6 kB / 0.7722 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.4009, allocations: 7.938 kB / 0.7722 GB, free: 22.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.401, allocations: 85.17 kB / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.401, allocations: 0 / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.401, allocations: 0 / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.401, allocations: 0 / 0.7723 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.504e-05/0.4011, allocations: 165.6 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4011, allocations: 0 / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.4012, allocations: 15.98 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4012, allocations: 3.938 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4012, allocations: 4 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4012, allocations: 0 / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4012, allocations: 0 / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.4014, allocations: 0.6435 MB / 0.7731 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.4014, allocations: 81.05 kB / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.4014, allocations: 0 / 0.7732 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.4015, allocations: 7.984 kB / 0.7732 GB, free: 21.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.4015, allocations: 7.938 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.4015, allocations: 4 kB / 0.7732 GB, free: 21.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.639e-05/0.4015, allocations: 83.22 kB / 0.7733 GB, free: 21.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 0.7733 GB, free: 21.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.4018, allocations: 31.98 kB / 0.7733 GB, free: 21.68 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.0001746/0.402, allocations: 133 kB / 0.7735 GB, free: 21.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.4021, allocations: 28.09 kB / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4021, allocations: 0 / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.4022, allocations: 23.92 kB / 0.7735 GB, free: 21.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.4023, allocations: 5.438 kB / 0.7735 GB, free: 21.49 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.4026, allocations: 247.2 kB / 0.7738 GB, free: 21.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.645e-05/0.4027, allocations: 0.6809 MB / 0.7744 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.351e-05/0.4027, allocations: 8 kB / 0.7744 GB, free: 20.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.4027, allocations: 15.38 kB / 0.7745 GB, free: 20.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4027, allocations: 0 / 0.7745 GB, free: 20.48 MB / 458.7 MB Notification: Performance of Templates: time 0.002769/0.4055, allocations: 1.312 MB / 0.7757 GB, free: 19.17 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)