Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001525/0.001526, 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.002863/0.002864, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 70.25 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3201, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002939/0.3231, allocations: 0.6813 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.3261, allocations: 1.48 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.3262, allocations: 4 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.422e-05/0.3263, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.3264, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3274, allocations: 159.7 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.467e-05/0.3275, allocations: 35.95 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.3276, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.3276, allocations: 15.92 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.3277, allocations: 23.92 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3277, allocations: 4 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005599/0.3283, allocations: 243.6 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.3284, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3284, allocations: 19.86 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.3289, allocations: 211.6 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3289, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.329, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.329, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB 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.0006029/0.3296, allocations: 405.3 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.3296, allocations: 16.03 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3297, allocations: 4.875 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.33, allocations: 172.2 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.33, allocations: 4.312 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.33, allocations: 4.375 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3302, allocations: 73.97 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3303, allocations: 0 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3303, allocations: 4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3303, allocations: 3.984 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.3304, allocations: 39.97 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.3306, allocations: 165.6 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.3307, allocations: 70.48 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3309, allocations: 48.86 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.3309, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3309, allocations: 46.5 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3309, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004526/0.3314, allocations: 187.2 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.3315, allocations: 81.11 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3316, allocations: 118 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3316, allocations: 25.7 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.3317, allocations: 92.28 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.3318, allocations: 23.7 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.3318, allocations: 21.7 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.332, allocations: 314.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3321, allocations: 40 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.3322, allocations: 35.97 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3324, allocations: 136.2 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.3324, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002668/0.3327, allocations: 147.3 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.3327, allocations: 41.62 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3327, allocations: 0 / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3328, allocations: 3.938 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3328, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.333, allocations: 23.89 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.333, allocations: 8 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB 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.0001358/0.3332, allocations: 143.5 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.3332, allocations: 11.88 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.3332, allocations: 12.36 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3332, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3333, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3333, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3334, allocations: 169.6 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3334, allocations: 4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.3334, allocations: 4 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3335, allocations: 7.875 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3335, allocations: 3.984 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3335, allocations: 4 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3335, allocations: 0 / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3339, allocations: 194.7 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.334, allocations: 84.95 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.334, allocations: 8.031 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.3341, allocations: 4 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.3341, allocations: 7.984 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3341, allocations: 4 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.3342, allocations: 91.27 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3342, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005028/0.3347, allocations: 68 kB / 1.073 GB, free: 4.496 MB / 0.8262 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.0004554/0.3352, allocations: 167.2 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.3355, allocations: 199.3 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3356, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.3358, allocations: 151.3 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3361, allocations: 8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.3365, allocations: 178.5 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3368, allocations: 0.6889 MB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.073e-06/0.3368, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.3368, allocations: 7.438 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3368, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.006602/0.3434, allocations: 1.984 MB / 1.077 GB, free: 1.047 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)