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.001522/0.001522, allocations: 79.73 kB / 19.76 MB, free: 1.879 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.001308/0.001308, allocations: 161.2 kB / 23.01 MB, free: 4.574 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.337/1.337, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.002244/0.002244, allocations: 234 kB / 260 MB, free: 436 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 0.8889/0.8889, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 99.84 kB / 0.6474 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3804, allocations: 95.33 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001598/0.382, allocations: 0.6369 MB / 0.7411 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003804/0.3824, allocations: 179.8 kB / 0.7413 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.3824, allocations: 1.438 kB / 0.7413 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.3824, allocations: 0 / 0.7413 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.3825, allocations: 10.83 kB / 0.7413 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.3827, allocations: 75.45 kB / 0.7414 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.3828, allocations: 30.89 kB / 0.7414 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.3828, allocations: 2.781 kB / 0.7414 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.3828, allocations: 19.94 kB / 0.7414 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.3829, allocations: 19.3 kB / 0.7414 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3829, allocations: 2.312 kB / 0.7414 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.383, allocations: 54.02 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.383, allocations: 4.25 kB / 0.7415 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.3831, allocations: 11.95 kB / 0.7415 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.3832, allocations: 90.52 kB / 0.7416 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3832, allocations: 3.938 kB / 0.7416 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3832, allocations: 0 / 0.7416 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3832, allocations: 1.281 kB / 0.7416 GB, free: 16.85 MB / 0.5919 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.0004021/0.3836, allocations: 302.3 kB / 0.7419 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.3837, allocations: 10.81 kB / 0.7419 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.3837, allocations: 7.875 kB / 0.7419 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.761e-05/0.3838, allocations: 110.1 kB / 0.742 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.3838, allocations: 5.312 kB / 0.742 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3838, allocations: 2.438 kB / 0.742 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3839, allocations: 53.69 kB / 0.7421 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.384, allocations: 4.141 kB / 0.7421 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.384, allocations: 5.125 kB / 0.7421 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.384, allocations: 4 kB / 0.7421 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3841, allocations: 38.44 kB / 0.7421 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.3843, allocations: 191.2 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.3845, allocations: 67.78 kB / 0.7424 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.3845, allocations: 24.3 kB / 0.7424 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.3846, allocations: 9.953 kB / 0.7424 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.093e-05/0.3846, allocations: 35.84 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3846, allocations: 0 / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0274/0.412, allocations: 1.612 MB / 0.744 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.412, allocations: 56.78 kB / 0.7441 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.4121, allocations: 112.2 kB / 0.7442 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.4121, allocations: 35.08 kB / 0.7442 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.4121, allocations: 86.59 kB / 0.7443 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.4122, allocations: 30.55 kB / 0.7443 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.4124, allocations: 27.92 kB / 0.7443 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.86e-05/0.4124, allocations: 314.5 kB / 0.7446 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.4129, allocations: 142 kB / 0.7448 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.4134, allocations: 141.3 kB / 0.7449 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.4143, allocations: 308.5 kB / 0.7452 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4143, allocations: 0 / 0.7452 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001152/0.4155, allocations: 336.1 kB / 0.7455 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4155, allocations: 9.062 kB / 0.7455 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.4155, allocations: 1.062 kB / 0.7455 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4155, allocations: 0.75 kB / 0.7455 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.4171, allocations: 68.67 kB / 0.7456 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4171, allocations: 5.453 kB / 0.7456 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.4185, allocations: 48.81 kB / 0.7456 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.4186, allocations: 7.391 kB / 0.7457 GB, free: 14.89 MB / 0.5919 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.0001297/0.4187, allocations: 120.8 kB / 0.7458 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.4188, allocations: 8.078 kB / 0.7458 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.4189, allocations: 19 kB / 0.7458 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.4189, allocations: 1.312 kB / 0.7458 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4189, allocations: 1.406 kB / 0.7458 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4189, allocations: 0.6562 kB / 0.7458 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0057/0.4246, allocations: 0.7109 MB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4246, allocations: 1.25 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.4257, allocations: 51.77 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4257, allocations: 1.281 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/0.4258, allocations: 4.266 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4258, allocations: 2.156 kB / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4258, allocations: 0 / 0.7465 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.4267, allocations: 331.4 kB / 0.7469 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.4267, allocations: 7.531 kB / 0.7469 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.4267, allocations: 1.312 kB / 0.7469 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.4278, allocations: 44.11 kB / 0.7469 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.4278, allocations: 9.141 kB / 0.7469 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.4279, allocations: 3.5 kB / 0.7469 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.4279, allocations: 97.67 kB / 0.747 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4279, allocations: 0 / 0.747 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003965/0.4283, allocations: 95.61 kB / 0.7471 GB, free: 14.14 MB / 0.5919 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.0001712/0.4285, allocations: 113 kB / 0.7472 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009435/0.4294, allocations: 240.5 kB / 0.7474 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4294, allocations: 4 kB / 0.7475 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.4298, allocations: 94.89 kB / 0.7475 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4301, allocations: 7.812 kB / 0.7476 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.4328, allocations: 301.8 kB / 0.7478 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.462e-05/0.4328, allocations: 78.17 kB / 0.7479 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003678/0.4332, allocations: 49.48 kB / 0.748 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.4336, allocations: 20.41 kB / 0.748 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.4336, allocations: 0 / 0.748 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.01317/0.4468, allocations: 9.752 MB / 0.7575 GB, free: 9.172 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.929236863041297] Failed to read output from testmodel.py, exit status != 0: 0.4540568410884589 0.46391689599999997 0.078372838 Calling exit ...