Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001285/0.001285, allocations: 193.9 kB / 16.14 MB, free: 6.715 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 287 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.11/1.11, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004527/0.004527, allocations: 100.6 kB / 0.6057 GB, free: 25.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2164, allocations: 89.14 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001917/0.2183, allocations: 0.6911 MB / 0.6935 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.2205, allocations: 1.47 MB / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.2205, allocations: 0 / 0.6949 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.2206, allocations: 4 kB / 0.6949 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.2206, allocations: 7.922 kB / 0.6949 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.2212, allocations: 158.4 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.2213, allocations: 31.95 kB / 0.6951 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2213, allocations: 4 kB / 0.6951 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.2213, allocations: 19.92 kB / 0.6951 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.2214, allocations: 27.86 kB / 0.6951 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2214, allocations: 4 kB / 0.6951 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.2218, allocations: 239.7 kB / 0.6954 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.2219, allocations: 7.984 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.2219, allocations: 15.88 kB / 0.6954 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.2222, allocations: 211.5 kB / 0.6956 GB, free: 1.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2223, allocations: 3.938 kB / 0.6956 GB, free: 1.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2223, allocations: 0 / 0.6956 GB, free: 1.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.2223, allocations: 0 / 0.6956 GB, free: 1.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004526/0.2227, allocations: 409.2 kB / 0.696 GB, free: 1.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2228, allocations: 12.03 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.2228, allocations: 4.938 kB / 0.696 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.223, allocations: 176.2 kB / 0.6962 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.223, allocations: 384 / 0.6962 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.223, allocations: 4.375 kB / 0.6962 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.2232, allocations: 73.97 kB / 0.6963 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2232, allocations: 0 / 0.6963 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2232, allocations: 4 kB / 0.6963 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2232, allocations: 0 / 0.6963 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.2233, allocations: 39.91 kB / 0.6963 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.2235, allocations: 161.7 kB / 0.6965 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.2236, allocations: 62.55 kB / 0.6965 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.2236, allocations: 48.86 kB / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.2236, allocations: 0 / 0.6966 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2237, allocations: 38.5 kB / 0.6966 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.2237, allocations: 0 / 0.6966 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003453/0.224, allocations: 191.2 kB / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.2241, allocations: 89.12 kB / 0.6969 GB, free: 460 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.2242, allocations: 110.1 kB / 0.697 GB, free: 340 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.2243, allocations: 29.7 kB / 0.697 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2243, allocations: 84.14 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2244, allocations: 27.78 kB / 0.6971 GB, free: 188 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.2244, allocations: 21.72 kB / 0.6971 GB, free: 160 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2246, allocations: 310.8 kB / 0.6974 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.2247, allocations: 35.97 kB / 0.6975 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.2247, allocations: 44.28 kB / 0.6975 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.2249, allocations: 144.3 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.2249, allocations: 4 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000214/0.2251, allocations: 151.3 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.2252, allocations: 41.62 kB / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2252, allocations: 0 / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2252, allocations: 0 / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-06/0.2252, allocations: 0 / 0.6978 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.2252, allocations: 3.938 kB / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.2254, allocations: 11.91 kB / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2254, allocations: 12.05 kB / 0.6978 GB, free: 15.37 MB / 0.4981 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.0001491/0.2256, allocations: 147.5 kB / 0.698 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.2256, allocations: 11.94 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.312e-05/0.2256, allocations: 8.312 kB / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2256, allocations: 0 / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2256, allocations: 0 / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2256, allocations: 0 / 0.698 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2258, allocations: 169.5 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.2258, allocations: 0 / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.2258, allocations: 8 kB / 0.6982 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2258, allocations: 3.938 kB / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2258, allocations: 0 / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2258, allocations: 4 kB / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2258, allocations: 0 / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2261, allocations: 194.7 kB / 0.6984 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.2262, allocations: 84.95 kB / 0.6985 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2262, allocations: 4 kB / 0.6985 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.2263, allocations: 12.02 kB / 0.6985 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.2263, allocations: 11.98 kB / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2263, allocations: 4 kB / 0.6985 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.2264, allocations: 91.27 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2264, allocations: 0 / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003059/0.2267, allocations: 75.98 kB / 0.6986 GB, free: 14.45 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 (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.0003434/0.227, allocations: 163.2 kB / 0.6988 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.2273, allocations: 195.2 kB / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2273, allocations: 4.062 kB / 0.699 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2275, allocations: 151.3 kB / 0.6991 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2277, allocations: 8 kB / 0.6991 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.228, allocations: 174.6 kB / 0.6993 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2284, allocations: 0.6887 MB / 0.7 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.276e-06/0.2284, allocations: 4.062 kB / 0.7 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.2285, allocations: 11.44 kB / 0.7 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2285, allocations: 0 / 0.7 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.005086/0.2336, allocations: 1.98 MB / 0.7019 GB, free: 11.01 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)