Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002579, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007298/0.0007298, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001758, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08584/1.13, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 230.5 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003324/0.005092, allocations: 475.6 kB / 244.8 MB, free: 14.08 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7528/0.7528, allocations: 138.7 MB / 384.3 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07028/0.8231, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.582e-05, allocations: 6.312 kB / 428.1 MB, free: 4.41 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001641/0.001667, allocations: 0.6782 MB / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.003387, allocations: 1.435 MB / 430.2 MB, free: 2.277 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.003415, allocations: 4 kB / 430.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.003454, allocations: 0 / 430.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.00348, allocations: 7.938 kB / 430.3 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.003951, allocations: 151.5 kB / 430.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.004064, allocations: 47.91 kB / 430.5 MB, free: 2.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.004098, allocations: 7.938 kB / 430.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.004168, allocations: 31.97 kB / 430.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.004227, allocations: 27.89 kB / 430.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.004241, allocations: 4 kB / 430.5 MB, free: 2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.004628, allocations: 231.7 kB / 430.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.004669, allocations: 15.94 kB / 430.8 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.0047, allocations: 8 kB / 430.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.004971, allocations: 183.5 kB / 431 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.004982, allocations: 0 / 431 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004983, allocations: 0 / 431 MB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.004993, allocations: 0 / 431 MB, free: 1.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003844/0.005377, allocations: 363.5 kB / 431.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.005409, allocations: 11.98 kB / 431.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.005447, allocations: 4.938 kB / 431.3 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.776e-05/0.005545, allocations: 129.6 kB / 431.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005555, allocations: 384 / 431.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.00557, allocations: 4.375 kB / 431.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.005704, allocations: 102.8 kB / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.005711, allocations: 192 / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005719, allocations: 384 / 431.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.005726, allocations: 3.938 kB / 431.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.005782, allocations: 61.67 kB / 431.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.992e-05/0.005862, allocations: 71.7 kB / 431.7 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.00595, allocations: 80.3 kB / 431.8 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.006007, allocations: 70.62 kB / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.00601, allocations: 0 / 431.8 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.006033, allocations: 38.55 kB / 431.9 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006034, allocations: 0 / 431.9 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002411/0.006275, allocations: 218.7 kB / 432.1 MB, free: 288 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.006302, allocations: 55.41 kB / 432.1 MB, free: 220 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.006398, allocations: 142.6 kB / 432.3 MB, free: 64 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.00641, allocations: 25.7 kB / 432.3 MB, free: 32 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.203/0.2094, allocations: 82.84 kB / 432.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.2094, allocations: 11.45 kB / 432.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.2095, allocations: 26.33 kB / 432.4 MB, free: 2.332 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.2095, allocations: 324.8 kB / 432.7 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.2097, allocations: 112.1 kB / 432.9 MB, free: 1.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.2097, allocations: 106.6 kB / 433 MB, free: 1.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2098, allocations: 197.3 kB / 433.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2099, allocations: 1.375 kB / 433.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001575/0.21, allocations: 264 kB / 433.4 MB, free: 1.629 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.2101, allocations: 69.91 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2101, allocations: 0 / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2101, allocations: 0.5 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-06/0.2101, allocations: 3.062 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.2101, allocations: 3.562 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.2102, allocations: 15.3 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.2102, allocations: 3.719 kB / 433.5 MB, free: 1.566 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 5.389e-05/0.2102, allocations: 148.7 kB / 433.6 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.2102, allocations: 4.906 kB / 433.7 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.2102, allocations: 8.844 kB / 433.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2103, allocations: 3.141 kB / 433.7 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2103, allocations: 3.938 kB / 433.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2103, allocations: 0.6562 kB / 433.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.096e-05/0.2103, allocations: 71.47 kB / 433.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2103, allocations: 0.8906 kB / 433.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2103, allocations: 2.344 kB / 433.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.2103, allocations: 8.969 kB / 433.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2103, allocations: 0 / 433.7 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2103, allocations: 5.531 kB / 433.8 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2103, allocations: 0.5625 kB / 433.8 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2103, allocations: 3.938 kB / 433.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.2105, allocations: 196.2 kB / 433.9 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2105, allocations: 4.188 kB / 434 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.734e-05/0.2105, allocations: 1.062 kB / 434 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.2105, allocations: 12.09 kB / 434 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2105, allocations: 9.375 kB / 434 MB, free: 1.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.733e-05/0.2106, allocations: 27.53 kB / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2106, allocations: 0 / 434 MB, free: 1.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.2108, allocations: 67.39 kB / 434.1 MB, free: 1.188 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * 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.000214/0.211, allocations: 143.4 kB / 434.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2112, allocations: 329.2 kB / 434.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.2112, allocations: 0 / 434.5 MB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.088e-05/0.2113, allocations: 133.4 kB / 434.7 MB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.585e-05/0.2114, allocations: 9.406 kB / 434.7 MB, free: 16.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.2116, allocations: 212 kB / 434.9 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.2117, allocations: 66.31 kB / 434.9 MB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.212e-06/0.2117, allocations: 1.156 kB / 434.9 MB, free: 16.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.2117, allocations: 64.72 kB / 435 MB, free: 16.52 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.2117, allocations: 2.969 kB / 435 MB, free: 16.52 MB / 426.7 MB Notification: Performance of Templates: time 0.004457/0.2162, allocations: 2.428 MB / 437.4 MB, free: 16.47 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5328998835757375]