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.001283/0.001283, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001439/0.001439, allocations: 165.6 kB / 22.46 MB, free: 5.363 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.002568/0.002568, allocations: 237.7 kB / 259.4 MB, free: 476 kB / 238.1 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 1.075/1.075, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 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.694e-06/1.694e-06, allocations: 0 / 0.6468 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.246e-05, allocations: 13.67 kB / 0.6469 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001831/0.001863, allocations: 0.6315 MB / 0.6475 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005031/0.002366, allocations: 183.2 kB / 0.6477 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.002403, allocations: 0 / 0.6477 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.002425, allocations: 3.938 kB / 0.6477 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.002588, allocations: 7.922 kB / 0.6477 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.002838, allocations: 75.69 kB / 0.6477 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.002915, allocations: 27.91 kB / 0.6478 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.002963, allocations: 4 kB / 0.6478 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.00302, allocations: 19.92 kB / 0.6478 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.003088, allocations: 23.95 kB / 0.6478 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.003107, allocations: 4 kB / 0.6478 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.003235, allocations: 47.83 kB / 0.6479 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.003257, allocations: 7.984 kB / 0.6479 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.00328, allocations: 7.938 kB / 0.6479 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.003466, allocations: 99.7 kB / 0.648 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003468, allocations: 0 / 0.648 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003469, allocations: 0 / 0.648 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.00348, allocations: 3.984 kB / 0.648 GB, free: 3.809 MB / 0.5606 GB 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.0005888/0.004069, allocations: 294.1 kB / 0.6483 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.004111, allocations: 13.34 kB / 0.6483 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.004146, allocations: 4.891 kB / 0.6483 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.004302, allocations: 113.7 kB / 0.6484 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.004312, allocations: 4.375 kB / 0.6484 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.004336, allocations: 4.328 kB / 0.6484 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.004497, allocations: 58.17 kB / 0.6484 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.004512, allocations: 4.172 kB / 0.6484 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004521, allocations: 384 / 0.6484 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004525, allocations: 384 / 0.6484 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.004665, allocations: 39.91 kB / 0.6485 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.004931, allocations: 192.7 kB / 0.6487 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.005148, allocations: 62.53 kB / 0.6487 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.005228, allocations: 32.86 kB / 0.6488 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.005242, allocations: 0 / 0.6488 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.005266, allocations: 30.56 kB / 0.6488 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005267, allocations: 4 kB / 0.6488 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0298/0.03506, allocations: 1.609 MB / 0.6504 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.03511, allocations: 55.41 kB / 0.6504 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.03524, allocations: 121.8 kB / 0.6505 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.03533, allocations: 33.7 kB / 0.6506 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.03539, allocations: 84.09 kB / 0.6506 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.48e-05/0.03547, allocations: 31.78 kB / 0.6507 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.0357, allocations: 29.7 kB / 0.6507 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.03583, allocations: 314.8 kB / 0.651 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.03638, allocations: 139.9 kB / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.03691, allocations: 147.9 kB / 0.6513 GB, free: 260 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.246/0.2829, allocations: 295.9 kB / 0.6516 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2829, allocations: 1.219 kB / 0.6516 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001292/0.2842, allocations: 337.4 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2842, allocations: 3.5 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2843, allocations: 0.5312 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2843, allocations: 0 / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.2859, allocations: 64.97 kB / 0.6519 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2859, allocations: 0.9375 kB / 0.652 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.2873, allocations: 50.39 kB / 0.652 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.2874, allocations: 8.531 kB / 0.652 GB, free: 56.41 MB / 0.5606 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 (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.00016/0.2876, allocations: 109.3 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.2877, allocations: 12.84 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2878, allocations: 18.88 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2878, allocations: 1.875 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2878, allocations: 0 / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2878, allocations: 1.281 kB / 0.6521 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.2935, allocations: 0.7135 MB / 0.6528 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2935, allocations: 3.125 kB / 0.6528 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.2947, allocations: 57.25 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2947, allocations: 4.188 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.2948, allocations: 2.531 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2948, allocations: 7.625 kB / 0.6529 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2948, allocations: 0 / 0.6529 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.2957, allocations: 325.1 kB / 0.6532 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.2957, allocations: 7.625 kB / 0.6532 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.2958, allocations: 4.719 kB / 0.6532 GB, free: 55.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.2969, allocations: 44.12 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.2969, allocations: 5.781 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.2969, allocations: 11.98 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.297, allocations: 91.25 kB / 0.6534 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.297, allocations: 0.5312 kB / 0.6534 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003841/0.2974, allocations: 92.89 kB / 0.6535 GB, free: 55.82 MB / 0.5606 GB 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.0002049/0.2976, allocations: 119.1 kB / 0.6536 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009404/0.2985, allocations: 244.5 kB / 0.6538 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2985, allocations: 0 / 0.6538 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.2989, allocations: 92.73 kB / 0.6539 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2992, allocations: 4.25 kB / 0.6539 GB, free: 55.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.302, allocations: 318.9 kB / 0.6542 GB, free: 55.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.302, allocations: 69.5 kB / 0.6543 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003767/0.3024, allocations: 51.94 kB / 0.6543 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.3029, allocations: 22.41 kB / 0.6543 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.3029, allocations: 0 / 0.6543 GB, free: 55.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.01212/0.315, allocations: 9.727 MB / 0.6638 GB, free: 54.81 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.358440324664116] Failed to read output from testmodel.py, exit status != 0: 0.3228588402271271 0.333218459 0.327246327 Calling exit ...