Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.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.0009135/0.0009135, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009634/0.0009634, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9407/0.9407, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001821/0.001821, allocations: 241.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7185/0.7185, allocations: 138.4 MB / 402.2 MB, free: 0.5273 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.516e-05, allocations: 5.156 kB / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001431/0.001456, allocations: 0.6481 MB / 463 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00034/0.001796, allocations: 186.3 kB / 463.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.001824, allocations: 0 / 463.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.001837, allocations: 1.672 kB / 463.2 MB, free: 396 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.001975, allocations: 8.328 kB / 463.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.002143, allocations: 76.5 kB / 463.3 MB, free: 368 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.002201, allocations: 30.53 kB / 463.3 MB, free: 360 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.355e-05/0.002235, allocations: 8.078 kB / 463.3 MB, free: 356 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.002281, allocations: 20.5 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.002336, allocations: 14.84 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.002347, allocations: 2.031 kB / 463.4 MB, free: 348 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.002444, allocations: 51.28 kB / 463.4 MB, free: 336 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.002457, allocations: 9.141 kB / 463.4 MB, free: 332 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.002472, allocations: 9.531 kB / 463.4 MB, free: 328 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.002598, allocations: 93.38 kB / 463.5 MB, free: 304 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.0026, allocations: 5.094 kB / 463.5 MB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.002602, allocations: 1.656 kB / 463.5 MB, free: 300 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.002604, allocations: 0 / 463.5 MB, free: 300 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002789/0.002883, allocations: 262.7 kB / 463.8 MB, free: 48 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.002912, allocations: 10.12 kB / 463.8 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.483e-05/0.002937, allocations: 8.406 kB / 463.8 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.003029, allocations: 114.1 kB / 463.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.00304, allocations: 1.562 kB / 463.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.003058, allocations: 4.859 kB / 463.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.752e-05/0.003155, allocations: 64.38 kB / 464 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.003167, allocations: 4.828 kB / 464 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.003173, allocations: 2.906 kB / 464 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003179, allocations: 384 / 464 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.003205, allocations: 12.92 kB / 464 MB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.003356, allocations: 140.5 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.065e-05/0.003416, allocations: 36.06 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.003432, allocations: 11.75 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.003442, allocations: 2.344 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.00346, allocations: 36.36 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.003461, allocations: 0.6875 kB / 464.2 MB, free: 15.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.01001/0.01347, allocations: 1.381 MB / 465.6 MB, free: 15.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.0135, allocations: 51.41 kB / 465.7 MB, free: 15.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.01356, allocations: 116.1 kB / 465.8 MB, free: 15.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.0136, allocations: 25.7 kB / 465.8 MB, free: 15.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.01364, allocations: 96.06 kB / 465.9 MB, free: 14.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.368e-05/0.01369, allocations: 23.8 kB / 465.9 MB, free: 14.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.0138, allocations: 30.42 kB / 465.9 MB, free: 14.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.01387, allocations: 326.8 kB / 466.3 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.014, allocations: 64.69 kB / 466.3 MB, free: 14.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01414, allocations: 67.94 kB / 466.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.01442, allocations: 155.5 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01442, allocations: 0.6875 kB / 466.5 MB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003439/0.01477, allocations: 178.6 kB / 466.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01478, allocations: 7.938 kB / 466.7 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01478, allocations: 3.938 kB / 466.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01479, allocations: 5.031 kB / 466.7 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.0153, allocations: 51.94 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.0153, allocations: 0.875 kB / 466.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.01573, allocations: 48.52 kB / 466.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.01575, allocations: 0.5312 kB / 466.8 MB, free: 14.02 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001037/0.01586, allocations: 110.7 kB / 466.9 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.01592, allocations: 8.797 kB / 467 MB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.284e-05/0.01599, allocations: 24.81 kB / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01599, allocations: 0 / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01599, allocations: 3 kB / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.016, allocations: 3.938 kB / 467 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.01813, allocations: 480.9 kB / 467.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01813, allocations: 0 / 467.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.01858, allocations: 52.56 kB / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01858, allocations: 0 / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.01861, allocations: 7.438 kB / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01861, allocations: 0 / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01861, allocations: 1.859 kB / 467.5 MB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.0189, allocations: 201.1 kB / 467.7 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.01891, allocations: 9.062 kB / 467.7 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.01895, allocations: 8 kB / 467.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.01928, allocations: 32.59 kB / 467.8 MB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-06/0.01929, allocations: 3.984 kB / 467.8 MB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.01932, allocations: 4.875 kB / 467.8 MB, free: 13.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.686e-05/0.01934, allocations: 17.5 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01934, allocations: 1.875 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01957, allocations: 99.88 kB / 467.9 MB, free: 12.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001426/0.01971, allocations: 100.3 kB / 468 MB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.02001, allocations: 121.6 kB / 468.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02002, allocations: 7.938 kB / 468.1 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.02013, allocations: 34.05 kB / 468.1 MB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.02026, allocations: 17.89 kB / 468.2 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.02119, allocations: 229.7 kB / 468.4 MB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.02122, allocations: 63.81 kB / 468.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.02144, allocations: 49.38 kB / 468.5 MB, free: 12.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.02182, allocations: 60.33 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02182, allocations: 0 / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of Templates: time 0.01014/0.03196, allocations: 9.92 MB / 478.5 MB, free: 2.496 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.756771430373192]