Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008009, allocations: 98.97 kB / 16.02 MB, free: 80 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.001008/0.001008, allocations: 186.1 kB / 16.92 MB, free: 6.754 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.46/1.46, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6827/0.6827, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 16.75 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 77.54 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0008167/0.1911, allocations: 342.3 kB / 0.5603 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1931, allocations: 1.455 MB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1931, allocations: 0 / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.134e-05/0.1932, allocations: 0 / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.1932, allocations: 3.984 kB / 0.5617 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005733/0.1938, allocations: 162.9 kB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.1939, allocations: 35.89 kB / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.194, allocations: 4 kB / 0.5619 GB, free: 6.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.194, allocations: 15.98 kB / 0.5619 GB, free: 6.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.1941, allocations: 19.92 kB / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1941, allocations: 4 kB / 0.5619 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/0.1945, allocations: 239.6 kB / 0.5622 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.1945, allocations: 7.984 kB / 0.5622 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1946, allocations: 45.58 kB / 0.5622 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1949, allocations: 215.5 kB / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1949, allocations: 0 / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1949, allocations: 0 / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1949, allocations: 0 / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004363/0.1954, allocations: 389.4 kB / 0.5628 GB, free: 6.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1954, allocations: 12.03 kB / 0.5628 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.1955, allocations: 8.844 kB / 0.5628 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1956, allocations: 172.3 kB / 0.563 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1956, allocations: 8.359 kB / 0.563 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1956, allocations: 4.375 kB / 0.563 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1958, allocations: 77.97 kB / 0.5631 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1959, allocations: 4 kB / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1959, allocations: 0 / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1959, allocations: 0 / 0.5631 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.1959, allocations: 35.97 kB / 0.5631 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.1961, allocations: 169.5 kB / 0.5633 GB, free: 5.445 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.1962, allocations: 62.48 kB / 0.5633 GB, free: 5.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.1963, allocations: 56.86 kB / 0.5634 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.1963, allocations: 4 kB / 0.5634 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1964, allocations: 34.5 kB / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.1964, allocations: 0 / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003211/0.1967, allocations: 179.3 kB / 0.5636 GB, free: 5.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1968, allocations: 85.11 kB / 0.5637 GB, free: 4.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.1969, allocations: 114 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1969, allocations: 33.73 kB / 0.5638 GB, free: 4.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.197, allocations: 88.12 kB / 0.5639 GB, free: 4.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.197, allocations: 19.86 kB / 0.5639 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.197, allocations: 13.72 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1972, allocations: 318.8 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.1972, allocations: 31.98 kB / 0.5643 GB, free: 4.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.1973, allocations: 40.22 kB / 0.5643 GB, free: 4.301 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1974, allocations: 148.3 kB / 0.5645 GB, free: 4.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1975, allocations: 0 / 0.5645 GB, free: 4.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001831/0.1977, allocations: 151.3 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.149e-05/0.1977, allocations: 41.62 kB / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1977, allocations: 0 / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1977, allocations: 0 / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.604e-06/0.1977, allocations: 7.938 kB / 0.5646 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1977, allocations: 0 / 0.5646 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1979, allocations: 19.92 kB / 0.5647 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.1979, allocations: 4 kB / 0.5647 GB, free: 3.902 MB / 430.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 (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 prepare postOptimizeDAE: time 0.0001097/0.198, allocations: 143.5 kB / 0.5648 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.198, allocations: 15.88 kB / 0.5648 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.1981, allocations: 8.375 kB / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1981, allocations: 0 / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1981, allocations: 0 / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1981, allocations: 0 / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1982, allocations: 169.6 kB / 0.565 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1982, allocations: 0 / 0.565 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.1982, allocations: 3.938 kB / 0.565 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1982, allocations: 3.938 kB / 0.565 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1982, allocations: 4 kB / 0.565 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1982, allocations: 0 / 0.565 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1983, allocations: 4 kB / 0.565 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.1985, allocations: 198.7 kB / 0.5652 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.1986, allocations: 84.98 kB / 0.5653 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1986, allocations: 7.984 kB / 0.5653 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.172e-05/0.1986, allocations: 4 kB / 0.5653 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1986, allocations: 0 / 0.5653 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1987, allocations: 11.98 kB / 0.5653 GB, free: 3.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.782e-05/0.1987, allocations: 91.31 kB / 0.5654 GB, free: 3.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1987, allocations: 0 / 0.5654 GB, free: 3.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.199, allocations: 75.98 kB / 0.5655 GB, free: 2.984 MB / 430.1 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 (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.0003101/0.1993, allocations: 163.1 kB / 0.5656 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1996, allocations: 199.3 kB / 0.5658 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1996, allocations: 0 / 0.5658 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1997, allocations: 151.3 kB / 0.5659 GB, free: 2.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1999, allocations: 6.016 kB / 0.566 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.2002, allocations: 186.8 kB / 0.5661 GB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2005, allocations: 0.6848 MB / 0.5668 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.842e-06/0.2005, allocations: 0 / 0.5668 GB, free: 1.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.2005, allocations: 7.438 kB / 0.5668 GB, free: 1.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2006, allocations: 0 / 0.5668 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Templates: time 0.005118/0.2057, allocations: 1.974 MB / 0.5687 GB, free: 15.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)