Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 198.7 kB / 16.64 MB, free: 6.613 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.355/1.355, allocations: 222.9 MB / 240.3 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 290.9 kB / 290.8 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 103.8 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1934, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001645/0.1951, allocations: 0.582 MB / 0.7669 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.1954, allocations: 39.88 kB / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.1954, allocations: 0 / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.1955, allocations: 0 / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1956, allocations: 0 / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1958, allocations: 23.91 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.1958, allocations: 0 / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1959, allocations: 11.98 kB / 0.767 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.1959, allocations: 3.938 kB / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.196, allocations: 0 / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.196, allocations: 0 / 0.767 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.1961, allocations: 23.98 kB / 0.767 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.1961, allocations: 0 / 0.767 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1962, allocations: 7.938 kB / 0.767 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1963, allocations: 31.89 kB / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1963, allocations: 0 / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1963, allocations: 0 / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1963, allocations: 0 / 0.7671 GB, free: 7.715 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003464/0.1966, allocations: 353.2 kB / 0.7674 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1967, allocations: 19.95 kB / 0.7674 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1967, allocations: 4.844 kB / 0.7674 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.408e-05/0.1968, allocations: 164.3 kB / 0.7676 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1969, allocations: 384 / 0.7676 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1969, allocations: 4.375 kB / 0.7676 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.197, allocations: 54.25 kB / 0.7676 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.197, allocations: 192 / 0.7676 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.197, allocations: 3.938 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.1971, allocations: 11.98 kB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.1971, allocations: 23.98 kB / 0.7677 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1975, allocations: 268.8 kB / 0.7679 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.599e-05/0.1975, allocations: 18.52 kB / 0.768 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.1975, allocations: 12.91 kB / 0.768 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.1975, allocations: 0 / 0.768 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1976, allocations: 34.56 kB / 0.768 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1976, allocations: 0 / 0.768 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001741/0.1978, allocations: 71.34 kB / 0.7681 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1978, allocations: 77.11 kB / 0.7681 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.1979, allocations: 113.8 kB / 0.7683 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1979, allocations: 25.7 kB / 0.7683 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.198, allocations: 103.8 kB / 0.7684 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.198, allocations: 3.906 kB / 0.7684 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.198, allocations: 33.77 kB / 0.7684 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1982, allocations: 322.8 kB / 0.7687 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.1982, allocations: 7.984 kB / 0.7687 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.784e-05/0.1982, allocations: 58.86 kB / 0.7688 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1984, allocations: 134.1 kB / 0.7689 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1984, allocations: 4 kB / 0.7689 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001525/0.1985, allocations: 115.2 kB / 0.769 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.1986, allocations: 29.7 kB / 0.7691 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1986, allocations: 4 kB / 0.7691 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1986, allocations: 4 kB / 0.7691 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.1987, allocations: 8 kB / 0.7691 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.1987, allocations: 4.469 kB / 0.7691 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.1988, allocations: 24.08 kB / 0.7691 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1988, allocations: 4 kB / 0.7691 GB, free: 5.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.984e-05/0.1989, allocations: 148.1 kB / 0.7692 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1989, allocations: 3.984 kB / 0.7692 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.492e-05/0.199, allocations: 7.531 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.199, allocations: 4 kB / 0.7693 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.199, allocations: 7.984 kB / 0.7693 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.199, allocations: 0 / 0.7693 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1991, allocations: 153.6 kB / 0.7694 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.1991, allocations: 7.984 kB / 0.7694 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1991, allocations: 0 / 0.7694 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1991, allocations: 0 / 0.7694 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1992, allocations: 0 / 0.7694 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1992, allocations: 4 kB / 0.7694 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1992, allocations: 0 / 0.7694 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1993, allocations: 173 kB / 0.7696 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.1993, allocations: 77.11 kB / 0.7697 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1994, allocations: 4.031 kB / 0.7697 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.1994, allocations: 8 kB / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.042e-05/0.1994, allocations: 0 / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1995, allocations: 0 / 0.7697 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.1995, allocations: 91.25 kB / 0.7698 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1995, allocations: 0 / 0.7698 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002564/0.1998, allocations: 19.94 kB / 0.7698 GB, free: 4.52 MB / 0.5606 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000157/0.1999, allocations: 107.2 kB / 0.7699 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.2001, allocations: 91.31 kB / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2001, allocations: 0 / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.2001, allocations: 55.41 kB / 0.77 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.2003, allocations: 2.062 kB / 0.77 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.2006, allocations: 109 kB / 0.7701 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.201, allocations: 0.6773 MB / 0.7708 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.01e-05/0.201, allocations: 19.73 kB / 0.7708 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.497e-05/0.2011, allocations: 7.438 kB / 0.7708 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2011, allocations: 4 kB / 0.7708 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.00245/0.2035, allocations: 0.5139 MB / 0.7713 GB, free: 2.867 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)