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.0008205/0.0008205, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007741/0.0007741, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.001399/0.001399, allocations: 238.3 kB / 260.2 MB, free: 13.01 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.6353/0.6353, allocations: 138.4 MB / 455.1 MB, free: 1.605 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.653e-06/1.653e-06, allocations: 0 / 0.6476 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.03e-05, allocations: 2.281 kB / 0.6476 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001162/0.001192, allocations: 0.6251 MB / 0.6482 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.00151, allocations: 184 kB / 0.6484 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.00154, allocations: 1.125 kB / 0.6484 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.001556, allocations: 0 / 0.6484 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.001718, allocations: 13.48 kB / 0.6484 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.001882, allocations: 74.53 kB / 0.6485 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.001944, allocations: 28.59 kB / 0.6485 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.001989, allocations: 2.188 kB / 0.6485 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.002035, allocations: 19.73 kB / 0.6485 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.002094, allocations: 21.38 kB / 0.6485 GB, free: 28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.002109, allocations: 6.281 kB / 0.6485 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.002203, allocations: 48.5 kB / 0.6486 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.002219, allocations: 5.094 kB / 0.6486 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.002238, allocations: 11.55 kB / 0.6486 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.002385, allocations: 99.39 kB / 0.6487 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.002387, allocations: 1.094 kB / 0.6487 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.223e-06/0.002388, allocations: 0 / 0.6487 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.002392, allocations: 0 / 0.6487 GB, free: 27.91 MB / 0.5105 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.0003794/0.002771, allocations: 294.5 kB / 0.649 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.002815, allocations: 14.5 kB / 0.649 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.002846, allocations: 6.359 kB / 0.649 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.904e-05/0.002925, allocations: 111.7 kB / 0.6491 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.002936, allocations: 1.562 kB / 0.6491 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.002957, allocations: 5.5 kB / 0.6491 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.003064, allocations: 57.16 kB / 0.6492 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.003075, allocations: 4.141 kB / 0.6492 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.003084, allocations: 384 / 0.6492 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.003088, allocations: 5.562 kB / 0.6492 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.003171, allocations: 48.73 kB / 0.6492 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.003367, allocations: 185.7 kB / 0.6494 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.003491, allocations: 66.28 kB / 0.6495 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.156e-05/0.003532, allocations: 21.25 kB / 0.6495 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.003549, allocations: 0 / 0.6495 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.003562, allocations: 39.98 kB / 0.6495 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.003563, allocations: 0 / 0.6495 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.01182/0.01538, allocations: 1.621 MB / 0.6511 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.01541, allocations: 52.53 kB / 0.6511 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.01549, allocations: 116.5 kB / 0.6513 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.01552, allocations: 25.7 kB / 0.6513 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.01556, allocations: 90 kB / 0.6514 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.0156, allocations: 31.95 kB / 0.6514 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.01572, allocations: 28.7 kB / 0.6514 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.01576, allocations: 321.5 kB / 0.6517 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.01607, allocations: 142.2 kB / 0.6519 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.01639, allocations: 143.3 kB / 0.652 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.01704, allocations: 300.8 kB / 0.6523 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01704, allocations: 4 kB / 0.6523 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007672/0.01781, allocations: 339.8 kB / 0.6526 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.01783, allocations: 4.938 kB / 0.6526 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01784, allocations: 1.25 kB / 0.6526 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01786, allocations: 4 kB / 0.6526 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.01853, allocations: 62.31 kB / 0.6527 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01853, allocations: 1.438 kB / 0.6527 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.01905, allocations: 46.44 kB / 0.6527 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.01908, allocations: 7.188 kB / 0.6527 GB, free: 25.23 MB / 0.5105 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.0001074/0.01919, allocations: 111 kB / 0.6528 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.01923, allocations: 10.3 kB / 0.6529 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.522e-05/0.01931, allocations: 22.95 kB / 0.6529 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.01931, allocations: 1.156 kB / 0.6529 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01932, allocations: 4 kB / 0.6529 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01932, allocations: 1.438 kB / 0.6529 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.02193, allocations: 0.7174 MB / 0.6536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02193, allocations: 5.156 kB / 0.6536 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.02237, allocations: 52.62 kB / 0.6536 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.02238, allocations: 1.562 kB / 0.6536 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.0224, allocations: 2.594 kB / 0.6536 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.02241, allocations: 1.156 kB / 0.6536 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02241, allocations: 1.5 kB / 0.6536 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.02299, allocations: 325.5 kB / 0.654 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.02301, allocations: 15.17 kB / 0.654 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.02305, allocations: 1.281 kB / 0.654 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.02345, allocations: 38.58 kB / 0.654 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.02347, allocations: 6.766 kB / 0.654 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.02349, allocations: 3.812 kB / 0.654 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.02352, allocations: 96.77 kB / 0.6541 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02352, allocations: 0 / 0.6541 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002735/0.0238, allocations: 95.06 kB / 0.6542 GB, free: 24.25 MB / 0.5105 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.0001889/0.02398, allocations: 131.7 kB / 0.6543 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006485/0.02463, allocations: 241.2 kB / 0.6546 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02464, allocations: 1.062 kB / 0.6546 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.02489, allocations: 100.4 kB / 0.6547 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.0251, allocations: 5.047 kB / 0.6547 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.02637, allocations: 322.8 kB / 0.655 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.02641, allocations: 67.75 kB / 0.655 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.02671, allocations: 22.89 kB / 0.6551 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.02671, allocations: 0 / 0.6551 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.004968/0.03168, allocations: 5.079 MB / 0.66 GB, free: 20.04 MB / 0.5105 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: 5.321489865891635] Failed to read output from testmodel.py, exit status != 0: 0.037911429069936275 0.046121367 0.042521379000000005 Calling exit ...