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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 191.6 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 279 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004114/0.004114, allocations: 95.92 kB / 0.6057 GB, free: 25.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1891, allocations: 89.16 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002524/0.1917, allocations: 1.318 MB / 0.6941 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1929, allocations: 0.713 MB / 0.6948 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.1929, allocations: 3.938 kB / 0.6948 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.193, allocations: 4.984 kB / 0.6948 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.193, allocations: 3.984 kB / 0.6948 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1934, allocations: 107.8 kB / 0.6949 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.1934, allocations: 19.92 kB / 0.6949 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.1935, allocations: 4 kB / 0.6949 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.1936, allocations: 15.88 kB / 0.6949 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.1936, allocations: 15.97 kB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1936, allocations: 0 / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002965/0.194, allocations: 155.8 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.194, allocations: 7.922 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.194, allocations: 12 kB / 0.6951 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.1942, allocations: 108 kB / 0.6952 GB, free: 2.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1942, allocations: 4 kB / 0.6952 GB, free: 2.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1942, allocations: 4 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1943, allocations: 0 / 0.6952 GB, free: 2.363 MB / 494.1 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.000434/0.1947, allocations: 343.5 kB / 0.6955 GB, free: 1.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1947, allocations: 8.031 kB / 0.6955 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1948, allocations: 0.9375 kB / 0.6955 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1949, allocations: 168.3 kB / 0.6957 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1949, allocations: 8.312 kB / 0.6957 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1949, allocations: 384 / 0.6957 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1951, allocations: 53.98 kB / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1951, allocations: 0 / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1951, allocations: 0 / 0.6958 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1951, allocations: 4 kB / 0.6958 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.217e-05/0.1952, allocations: 19.98 kB / 0.6958 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.1954, allocations: 161.6 kB / 0.6959 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.1954, allocations: 46.61 kB / 0.696 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.1955, allocations: 12.86 kB / 0.696 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.1959, allocations: 190.3 kB / 0.6962 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1959, allocations: 34.5 kB / 0.6962 GB, free: 1.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1959, allocations: 0 / 0.6962 GB, free: 1.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001856/0.1961, allocations: 65.62 kB / 0.6963 GB, free: 1.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1962, allocations: 51.41 kB / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1962, allocations: 97.86 kB / 0.6964 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1963, allocations: 29.7 kB / 0.6964 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.1963, allocations: 80.14 kB / 0.6965 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1964, allocations: 23.69 kB / 0.6965 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.1964, allocations: 17.72 kB / 0.6966 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1965, allocations: 310.8 kB / 0.6969 GB, free: 432 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.1966, allocations: 11.98 kB / 0.6969 GB, free: 420 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.1966, allocations: 8.125 kB / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.1967, allocations: 28.86 kB / 0.6969 GB, free: 380 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1967, allocations: 0 / 0.6969 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.1968, allocations: 57.62 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1968, allocations: 11.94 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1968, allocations: 0 / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1968, allocations: 4.375 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.1969, allocations: 11.98 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1969, allocations: 0 / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.1969, allocations: 7.938 kB / 0.697 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1969, allocations: 4 kB / 0.697 GB, free: 276 kB / 494.1 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 8.126e-05/0.197, allocations: 113.8 kB / 0.6971 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1971, allocations: 3.938 kB / 0.6971 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1972, allocations: 89.08 kB / 0.6972 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1973, allocations: 3.938 kB / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1973, allocations: 0 / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1973, allocations: 0 / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1974, allocations: 161.7 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1974, allocations: 3.984 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.1975, allocations: 8 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1975, allocations: 3.938 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1975, allocations: 4 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1975, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1975, allocations: 0 / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1976, allocations: 89.06 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1977, allocations: 92.94 kB / 0.6975 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.1977, allocations: 0 / 0.6975 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.1977, allocations: 0 / 0.6975 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.1978, allocations: 7.938 kB / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1978, allocations: 0 / 0.6976 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.1978, allocations: 83.28 kB / 0.6976 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1978, allocations: 0 / 0.6976 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.1981, allocations: 31.98 kB / 0.6977 GB, free: 15.49 MB / 0.4981 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.0002346/0.1983, allocations: 139.2 kB / 0.6978 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.965e-05/0.1984, allocations: 24 kB / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1984, allocations: 0 / 0.6978 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.1985, allocations: 19.92 kB / 0.6978 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1986, allocations: 5.375 kB / 0.6978 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.1989, allocations: 136.7 kB / 0.698 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1992, allocations: 0.6848 MB / 0.6986 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1992, allocations: 4 kB / 0.6986 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.1993, allocations: 15.38 kB / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1993, allocations: 0 / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.003928/0.2032, allocations: 1.303 MB / 0.6999 GB, free: 13.09 MB / 0.4981 GB 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)