Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.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.001495/0.001495, allocations: 82.02 kB / 19.76 MB, free: 2.031 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.001549/0.001549, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.334/1.334, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.002369/0.002369, allocations: 238.3 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.8896/0.8896, allocations: 138.5 MB / 455 MB, free: 15.07 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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate") [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.002899/0.002899, allocations: 106 kB / 0.6474 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3714, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Interpolate): time 0.002197/0.3736, allocations: 1.515 MB / 0.742 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3746, allocations: 0.7225 MB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.3746, allocations: 0 / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.3749, allocations: 127.4 kB / 0.7428 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.375, allocations: 73.27 kB / 0.7429 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.3755, allocations: 189.9 kB / 0.7431 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.3756, allocations: 60.05 kB / 0.7431 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.3756, allocations: 2.094 kB / 0.7431 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.3757, allocations: 46.8 kB / 0.7432 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3758, allocations: 89.98 kB / 0.7432 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3758, allocations: 2.156 kB / 0.7432 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.3762, allocations: 244.1 kB / 0.7435 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.3763, allocations: 60.36 kB / 0.7435 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.3763, allocations: 42.92 kB / 0.7436 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.3766, allocations: 278.7 kB / 0.7438 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3766, allocations: 0 / 0.7438 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3766, allocations: 3.938 kB / 0.7438 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3766, allocations: 0 / 0.7438 GB, free: 15.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005/0.3771, allocations: 452 kB / 0.7443 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.3772, allocations: 10.94 kB / 0.7443 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3772, allocations: 25 kB / 0.7443 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3774, allocations: 199.5 kB / 0.7445 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3774, allocations: 5.688 kB / 0.7445 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3774, allocations: 1.75 kB / 0.7445 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3775, allocations: 80.06 kB / 0.7446 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3776, allocations: 0 / 0.7446 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3776, allocations: 0 / 0.7446 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3776, allocations: 1.375 kB / 0.7446 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.3778, allocations: 93.42 kB / 0.7447 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3782, allocations: 337.2 kB / 0.745 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.3783, allocations: 96.91 kB / 0.7451 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.3784, allocations: 45.69 kB / 0.7451 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.3784, allocations: 18.11 kB / 0.7451 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.3785, allocations: 35.5 kB / 0.7452 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3785, allocations: 0 / 0.7452 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.000386/0.3788, allocations: 179.8 kB / 0.7454 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.3789, allocations: 55.34 kB / 0.7454 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.3792, allocations: 354.1 kB / 0.7457 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.3792, allocations: 25.7 kB / 0.7458 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.3792, allocations: 143.9 kB / 0.7459 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.3792, allocations: 5.688 kB / 0.7459 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3793, allocations: 30.81 kB / 0.7459 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.3793, allocations: 337.8 kB / 0.7463 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3795, allocations: 98.45 kB / 0.7464 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3796, allocations: 95.31 kB / 0.7464 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.3799, allocations: 209.6 kB / 0.7466 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3799, allocations: 0 / 0.7466 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003159/0.3802, allocations: 254.8 kB / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.3802, allocations: 8.312 kB / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3802, allocations: 1.75 kB / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3802, allocations: 0 / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.3803, allocations: 10.09 kB / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3803, allocations: 0 / 0.7469 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.3804, allocations: 19.44 kB / 0.7469 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3804, allocations: 1.094 kB / 0.7469 GB, free: 13.76 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 7.491e-05/0.3804, allocations: 150.2 kB / 0.7471 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.3805, allocations: 22.98 kB / 0.7471 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3807, allocations: 143.9 kB / 0.7472 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3807, allocations: 3.938 kB / 0.7472 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3807, allocations: 1.156 kB / 0.7472 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3807, allocations: 0.7031 kB / 0.7472 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3809, allocations: 184.2 kB / 0.7474 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3809, allocations: 5.703 kB / 0.7474 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3809, allocations: 12.48 kB / 0.7474 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3809, allocations: 8.578 kB / 0.7474 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3809, allocations: 1.281 kB / 0.7474 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3809, allocations: 0 / 0.7474 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3809, allocations: 0.5625 kB / 0.7474 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.3812, allocations: 226.9 kB / 0.7477 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.3812, allocations: 33.91 kB / 0.7477 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3812, allocations: 6.062 kB / 0.7477 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.3813, allocations: 5.75 kB / 0.7477 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.3814, allocations: 6.469 kB / 0.7477 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3814, allocations: 1.984 kB / 0.7477 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001959/0.3816, allocations: 250.4 kB / 0.7479 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.3816, allocations: 0 / 0.7479 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003013/0.3819, allocations: 70.39 kB / 0.748 GB, free: 13.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002065/0.3821, allocations: 154 kB / 0.7482 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002914/0.3824, allocations: 143.9 kB / 0.7483 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3824, allocations: 4 kB / 0.7483 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3825, allocations: 43.44 kB / 0.7483 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3827, allocations: 20.25 kB / 0.7484 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.3832, allocations: 376.2 kB / 0.7487 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.3833, allocations: 131.1 kB / 0.7488 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.3833, allocations: 14.92 kB / 0.7489 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3833, allocations: 15.44 kB / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.3833, allocations: 0 / 0.7489 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.005037/0.3884, allocations: 2.126 MB / 0.751 GB, free: 12.48 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.353619195986539] Failed to read output from testmodel.py, exit status != 0: 0.39553631003946066 0.405081204 0.02629014 Calling exit ...