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.0006707/0.0006707, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001573, allocations: 435.8 kB / 10.33 MB, free: 368 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.001101/0.001101, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001388/0.002489, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9376/0.9376, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08404/1.022, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.001572/0.001572, allocations: 229.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002767, allocations: 475.3 kB / 244.7 MB, free: 14.18 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.6924/0.6924, allocations: 138.7 MB / 384.1 MB, free: 488 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0687/0.7611, allocations: 42.39 MB / 426.5 MB, free: 5.945 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.192e-06/1.192e-06, allocations: 0 / 427.9 MB, free: 4.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055e-05/1.174e-05, allocations: 2.312 kB / 427.9 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001239/0.00125, allocations: 0.6741 MB / 428.5 MB, free: 3.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.002741, allocations: 1.431 MB / 430 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.002764, allocations: 4 kB / 430 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.002801, allocations: 3.938 kB / 430 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.002826, allocations: 7.938 kB / 430 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.003244, allocations: 151.6 kB / 430.1 MB, free: 2.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.003347, allocations: 39.97 kB / 430.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.00338, allocations: 15.86 kB / 430.2 MB, free: 2.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.003438, allocations: 27.97 kB / 430.2 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.003498, allocations: 19.97 kB / 430.2 MB, free: 2.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.003511, allocations: 8 kB / 430.2 MB, free: 2.152 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.003842, allocations: 231.6 kB / 430.5 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.003875, allocations: 15.98 kB / 430.5 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.0039, allocations: 11.94 kB / 430.5 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.004137, allocations: 187.5 kB / 430.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.004151, allocations: 0 / 430.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004152, allocations: 0 / 430.7 MB, free: 1.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.004167, allocations: 0 / 430.7 MB, free: 1.715 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.000392/0.004559, allocations: 351.6 kB / 431 MB, free: 1.336 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.004589, allocations: 8.031 kB / 431 MB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.004626, allocations: 20.86 kB / 431 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.004719, allocations: 117.7 kB / 431.2 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00473, allocations: 384 / 431.2 MB, free: 1.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.00474, allocations: 4.375 kB / 431.2 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004865, allocations: 102.8 kB / 431.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004871, allocations: 192 / 431.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004879, allocations: 384 / 431.3 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004884, allocations: 3.938 kB / 431.3 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.004937, allocations: 61.67 kB / 431.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.47e-05/0.005012, allocations: 75.7 kB / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.005089, allocations: 84.27 kB / 431.5 MB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.005142, allocations: 78.56 kB / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-06/0.005145, allocations: 0 / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.005168, allocations: 30.56 kB / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005169, allocations: 0 / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002246/0.005393, allocations: 218.7 kB / 431.8 MB, free: 440 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.005421, allocations: 55.41 kB / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.005509, allocations: 134.6 kB / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.005519, allocations: 29.7 kB / 432 MB, free: 188 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.00555, allocations: 88.12 kB / 432.1 MB, free: 96 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.005568, allocations: 7.906 kB / 432.1 MB, free: 88 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.005612, allocations: 33.72 kB / 432.1 MB, free: 48 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1784/0.184, allocations: 322.4 kB / 432.5 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1842, allocations: 108.2 kB / 432.6 MB, free: 2.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.1842, allocations: 107.7 kB / 432.7 MB, free: 2.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1844, allocations: 196 kB / 432.9 MB, free: 1.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1844, allocations: 0 / 432.9 MB, free: 1.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001873/0.1846, allocations: 262.1 kB / 433.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/0.1846, allocations: 71.33 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1846, allocations: 0 / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1846, allocations: 0 / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-06/0.1846, allocations: 2.281 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.1846, allocations: 5 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.1847, allocations: 12.77 kB / 433.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1847, allocations: 4 kB / 433.2 MB, free: 1.723 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 6.111e-05/0.1848, allocations: 150.4 kB / 433.4 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.1848, allocations: 6.406 kB / 433.4 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.1848, allocations: 7.688 kB / 433.4 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1848, allocations: 0 / 433.4 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1848, allocations: 3.938 kB / 433.4 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1848, allocations: 5.109 kB / 433.4 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.86e-05/0.1849, allocations: 72.92 kB / 433.4 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1849, allocations: 3.281 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.1849, allocations: 0.7188 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.1849, allocations: 8.469 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.1849, allocations: 0.9375 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1849, allocations: 2.859 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1849, allocations: 2.812 kB / 433.5 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1849, allocations: 3.938 kB / 433.5 MB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.1851, allocations: 201.1 kB / 433.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1851, allocations: 4.25 kB / 433.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.1851, allocations: 2.891 kB / 433.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1852, allocations: 7.578 kB / 433.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1852, allocations: 3.297 kB / 433.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.723e-05/0.1852, allocations: 29.03 kB / 433.7 MB, free: 1.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1852, allocations: 0 / 433.7 MB, free: 1.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.1855, allocations: 69.86 kB / 433.8 MB, free: 1.348 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.0001939/0.1856, allocations: 141.7 kB / 433.9 MB, free: 1.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1859, allocations: 325.8 kB / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1859, allocations: 0 / 434.2 MB, free: 17.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.186, allocations: 135.7 kB / 434.4 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.432e-05/0.186, allocations: 13.11 kB / 434.4 MB, free: 16.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.1863, allocations: 209.4 kB / 434.6 MB, free: 16.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.1863, allocations: 60.77 kB / 434.6 MB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.41e-06/0.1863, allocations: 0.5 kB / 434.6 MB, free: 16.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.1864, allocations: 71.56 kB / 434.7 MB, free: 16.68 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1864, allocations: 0 / 434.7 MB, free: 16.68 MB / 426.7 MB Notification: Performance of Templates: time 0.004353/0.1907, allocations: 2.396 MB / 437.1 MB, free: 16.63 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.260471140034497]