Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001493/0.001493, allocations: 79.03 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.001528/0.001528, allocations: 160.4 kB / 23.02 MB, free: 4.941 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.336/1.336, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.002339/0.002339, allocations: 237.3 kB / 260 MB, free: 440 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.8881/0.8881, 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.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate") translateModel(BuildingSystems.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.00298/0.00298, allocations: 104.3 kB / 0.6474 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3735, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Interpolate): time 0.002149/0.3756, allocations: 1.483 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3767, allocations: 0.7742 MB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.3768, allocations: 1.156 kB / 0.7427 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.377, allocations: 127.4 kB / 0.7428 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.3775, allocations: 186.6 kB / 0.743 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.3777, allocations: 74.16 kB / 0.743 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.637e-05/0.3777, allocations: 65.41 kB / 0.7431 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.867e-05/0.3778, allocations: 3.641 kB / 0.7431 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.3779, allocations: 51.8 kB / 0.7431 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.378, allocations: 89.62 kB / 0.7432 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.378, allocations: 1.594 kB / 0.7432 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.3784, allocations: 240.5 kB / 0.7435 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3785, allocations: 105.6 kB / 0.7436 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.3786, allocations: 64.77 kB / 0.7436 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.3789, allocations: 331.2 kB / 0.7439 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3789, allocations: 0 / 0.7439 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3789, allocations: 0 / 0.7439 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3789, allocations: 1.375 kB / 0.7439 GB, free: 15.57 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.0005769/0.3795, allocations: 0.508 MB / 0.7444 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.3795, allocations: 11.55 kB / 0.7444 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.3796, allocations: 37.02 kB / 0.7445 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.3799, allocations: 325 kB / 0.7448 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3799, allocations: 1.75 kB / 0.7448 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.3799, allocations: 2.453 kB / 0.7448 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3801, allocations: 88.8 kB / 0.7449 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3801, allocations: 0 / 0.7449 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3801, allocations: 1.25 kB / 0.7449 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3801, allocations: 0.8906 kB / 0.7449 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.3803, allocations: 106.2 kB / 0.745 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.3807, allocations: 398.5 kB / 0.7454 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3809, allocations: 105.6 kB / 0.7455 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.381, allocations: 56.27 kB / 0.7455 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.381, allocations: 19.27 kB / 0.7455 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.381, allocations: 35.53 kB / 0.7456 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.381, allocations: 7.938 kB / 0.7456 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0004115/0.3814, allocations: 206 kB / 0.7458 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.3815, allocations: 52.88 kB / 0.7458 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.382, allocations: 0.5352 MB / 0.7463 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.382, allocations: 27.14 kB / 0.7464 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.382, allocations: 161.6 kB / 0.7465 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3821, allocations: 11.66 kB / 0.7465 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.3821, allocations: 39.03 kB / 0.7466 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.3822, allocations: 347.7 kB / 0.7469 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3823, allocations: 91 kB / 0.747 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3825, allocations: 96.41 kB / 0.7471 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3827, allocations: 178.3 kB / 0.7473 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3827, allocations: 0.5625 kB / 0.7473 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003693/0.3831, allocations: 278 kB / 0.7475 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3831, allocations: 8.219 kB / 0.7475 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3831, allocations: 0 / 0.7475 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3831, allocations: 1.75 kB / 0.7475 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3833, allocations: 27 kB / 0.7476 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3833, allocations: 3.938 kB / 0.7476 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.3834, allocations: 15.36 kB / 0.7476 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3834, allocations: 6.594 kB / 0.7476 GB, free: 13.45 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 (15): * Single equations (assignments): 15 * 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.000103/0.3835, allocations: 168.8 kB / 0.7477 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3835, allocations: 41 kB / 0.7478 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3838, allocations: 169.8 kB / 0.7479 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3838, allocations: 3.938 kB / 0.7479 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3838, allocations: 1.562 kB / 0.748 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3838, allocations: 0 / 0.748 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.384, allocations: 210.3 kB / 0.7482 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.384, allocations: 3.938 kB / 0.7482 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.384, allocations: 13.7 kB / 0.7482 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.384, allocations: 0 / 0.7482 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.384, allocations: 4.969 kB / 0.7482 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.384, allocations: 0 / 0.7482 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.384, allocations: 1.125 kB / 0.7482 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.3843, allocations: 252.4 kB / 0.7484 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.3844, allocations: 41.67 kB / 0.7485 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.3844, allocations: 0.6562 kB / 0.7485 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.223e-05/0.3845, allocations: 6.609 kB / 0.7485 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.3845, allocations: 3.422 kB / 0.7485 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.3845, allocations: 4.031 kB / 0.7485 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003533/0.3849, allocations: 401.1 kB / 0.7489 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 5.281 kB / 0.7489 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003515/0.3852, allocations: 81.92 kB / 0.7489 GB, free: 12.71 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.000217/0.3854, allocations: 146.7 kB / 0.7491 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.3858, allocations: 160.2 kB / 0.7492 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3858, allocations: 0 / 0.7492 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3859, allocations: 61.39 kB / 0.7493 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.3862, allocations: 20.83 kB / 0.7493 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.3868, allocations: 0.535 MB / 0.7498 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.387, allocations: 170.3 kB / 0.75 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.387, allocations: 32.05 kB / 0.75 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.387, allocations: 17.78 kB / 0.75 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.387, allocations: 0 / 0.75 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.006384/0.3934, allocations: 2.878 MB / 0.7528 GB, free: 11.66 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.470845217932947] Failed to read output from testmodel.py, exit status != 0: 0.40073326195124537 0.41030628199999997 0.029111602 Calling exit ...