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.001491/0.001491, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001558/0.001558, allocations: 159.7 kB / 23.01 MB, free: 4.602 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.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.898 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.002292/0.002292, allocations: 226 kB / 260 MB, free: 464 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.8891/0.8891, allocations: 138.5 MB / 455 MB, free: 15.09 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.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: 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.002909/0.002909, allocations: 99.84 kB / 0.6474 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3736, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001519/0.3751, allocations: 0.6254 MB / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3765, allocations: 1.394 MB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.3765, allocations: 0 / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.3766, allocations: 5.438 kB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.3766, allocations: 3 kB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.3772, allocations: 182.7 kB / 0.7426 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3773, allocations: 57.88 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.3773, allocations: 1.875 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.199e-05/0.3774, allocations: 17.97 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.3774, allocations: 25.16 kB / 0.7427 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3774, allocations: 2.844 kB / 0.7427 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003532/0.3778, allocations: 210.4 kB / 0.7429 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.3778, allocations: 13.27 kB / 0.743 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.3778, allocations: 17.06 kB / 0.743 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3781, allocations: 188.8 kB / 0.7431 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3781, allocations: 4 kB / 0.7432 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3781, allocations: 0 / 0.7432 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3781, allocations: 1.406 kB / 0.7432 GB, free: 15.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002988/0.3784, allocations: 373.2 kB / 0.7435 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.3784, allocations: 16.03 kB / 0.7435 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.3785, allocations: 6.766 kB / 0.7435 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.76e-05/0.3785, allocations: 127.4 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3786, allocations: 2.188 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3786, allocations: 3.938 kB / 0.7437 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3787, allocations: 125.9 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3787, allocations: 4 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3787, allocations: 1.375 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.3787, allocations: 0 / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/0.3788, allocations: 93.58 kB / 0.7439 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.974e-05/0.3789, allocations: 119.7 kB / 0.744 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.379, allocations: 112.2 kB / 0.7441 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.3791, allocations: 92.27 kB / 0.7442 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.3791, allocations: 1.094 kB / 0.7442 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.3791, allocations: 36.12 kB / 0.7442 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3791, allocations: 0.9688 kB / 0.7442 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4): time 0.0003494/0.3795, allocations: 317 kB / 0.7445 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.3795, allocations: 83.84 kB / 0.7446 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.3796, allocations: 141.3 kB / 0.7447 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3796, allocations: 26.67 kB / 0.7448 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.3796, allocations: 93.28 kB / 0.7448 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.3796, allocations: 15.08 kB / 0.7449 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3797, allocations: 28.36 kB / 0.7449 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/0.3797, allocations: 320.2 kB / 0.7452 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3799, allocations: 168.9 kB / 0.7454 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.38, allocations: 169.5 kB / 0.7455 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.3802, allocations: 285.8 kB / 0.7458 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3802, allocations: 5.438 kB / 0.7458 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003124/0.3805, allocations: 392.5 kB / 0.7462 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3806, allocations: 73.17 kB / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3806, allocations: 1.281 kB / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3806, allocations: 0 / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.3806, allocations: 0 / 0.7462 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3806, allocations: 6.031 kB / 0.7462 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3807, allocations: 22.06 kB / 0.7463 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3807, allocations: 8.797 kB / 0.7463 GB, free: 13.54 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: 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.43e-05/0.3808, allocations: 146.3 kB / 0.7464 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.3808, allocations: 16.7 kB / 0.7464 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.216e-05/0.3808, allocations: 7.625 kB / 0.7464 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3808, allocations: 0 / 0.7464 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3808, allocations: 1.188 kB / 0.7464 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3808, allocations: 0 / 0.7464 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.34e-05/0.3808, allocations: 123.8 kB / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3808, allocations: 0 / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3808, allocations: 0 / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.3808, allocations: 1.125 kB / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3809, allocations: 7.547 kB / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3809, allocations: 3.984 kB / 0.7466 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3809, allocations: 4 kB / 0.7466 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3811, allocations: 258.8 kB / 0.7468 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.3811, allocations: 6.953 kB / 0.7468 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3811, allocations: 6.062 kB / 0.7468 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.3812, allocations: 8.453 kB / 0.7468 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3812, allocations: 11.77 kB / 0.7469 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3812, allocations: 1.812 kB / 0.7469 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.664e-05/0.3813, allocations: 106.6 kB / 0.747 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3813, allocations: 0 / 0.747 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002599/0.3815, allocations: 66.16 kB / 0.747 GB, free: 12.97 MB / 0.5919 GB 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.0002016/0.3817, allocations: 154.2 kB / 0.7472 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.3821, allocations: 420 kB / 0.7476 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3821, allocations: 0 / 0.7476 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3822, allocations: 155.3 kB / 0.7477 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3823, allocations: 7.844 kB / 0.7477 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.3826, allocations: 241.5 kB / 0.748 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.3826, allocations: 75.89 kB / 0.748 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.469e-06/0.3827, allocations: 128 / 0.748 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-06/0.3827, allocations: 21.69 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.3827, allocations: 0 / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.004594/0.3873, allocations: 2.138 MB / 0.7501 GB, free: 12.05 MB / 0.5919 GB " [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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.412116367951967] Failed to read output from testmodel.py, exit status != 0: 0.39424651802983135 0.40433037599999994 0.02395533199999994 Calling exit ...