Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.001602/0.001602, allocations: 78.34 kB / 19 MB, free: 2.867 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.001756/0.001756, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.356/1.356, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.002383/0.002383, allocations: 233.1 kB / 259.2 MB, free: 0.5977 MB / 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 1.023/1.023, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [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.002861/0.002861, allocations: 95.86 kB / 0.6466 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3796, allocations: 95.35 MB / 0.7397 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.00287/0.3825, allocations: 1.615 MB / 0.7413 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3836, allocations: 0.5581 MB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.3836, allocations: 3.938 kB / 0.7418 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.3838, allocations: 15.86 kB / 0.7419 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.3838, allocations: 11.88 kB / 0.7419 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3841, allocations: 59.84 kB / 0.7419 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3842, allocations: 91.64 kB / 0.742 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3844, allocations: 27.97 kB / 0.742 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3846, allocations: 59.83 kB / 0.7421 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.3847, allocations: 39.83 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3847, allocations: 8 kB / 0.7421 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.3847, allocations: 23.92 kB / 0.7422 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.3848, allocations: 23.86 kB / 0.7422 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.3848, allocations: 31.81 kB / 0.7422 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.385, allocations: 104.7 kB / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.385, allocations: 0 / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.385, allocations: 0 / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.385, allocations: 0 / 0.7423 GB, free: 12.52 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005763/0.3856, allocations: 337.8 kB / 0.7426 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3856, allocations: 13.34 kB / 0.7426 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.3859, allocations: 36.86 kB / 0.7427 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.3862, allocations: 157.9 kB / 0.7428 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3862, allocations: 384 / 0.7428 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3862, allocations: 12.06 kB / 0.7428 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.3865, allocations: 109.6 kB / 0.743 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3865, allocations: 0 / 0.743 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3865, allocations: 0 / 0.743 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3865, allocations: 4 kB / 0.743 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.3868, allocations: 91.94 kB / 0.743 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.3874, allocations: 320.2 kB / 0.7433 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3876, allocations: 54.55 kB / 0.7434 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3877, allocations: 44.95 kB / 0.7434 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.3878, allocations: 7.922 kB / 0.7435 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3878, allocations: 38.56 kB / 0.7435 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3878, allocations: 0 / 0.7435 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000504/0.3883, allocations: 165.6 kB / 0.7436 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3883, allocations: 55.34 kB / 0.7437 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3885, allocations: 137.8 kB / 0.7438 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3885, allocations: 25.7 kB / 0.7439 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.116e-05/0.3886, allocations: 112.2 kB / 0.744 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3886, allocations: 19.8 kB / 0.744 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3886, allocations: 25.7 kB / 0.744 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3888, allocations: 318.8 kB / 0.7443 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3889, allocations: 43.97 kB / 0.7444 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.389, allocations: 43.91 kB / 0.7444 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.3892, allocations: 84.81 kB / 0.7445 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3892, allocations: 0 / 0.7445 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002756/0.3895, allocations: 133.5 kB / 0.7446 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3895, allocations: 4 kB / 0.7446 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.3895, allocations: 3.938 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3895, allocations: 0 / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3897, allocations: 20.42 kB / 0.7446 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3897, allocations: 3.938 kB / 0.7446 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.3898, allocations: 7.984 kB / 0.7446 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.3898, allocations: 11.98 kB / 0.7447 GB, free: 9.961 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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 9.713e-05/0.3899, allocations: 117.8 kB / 0.7448 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.3899, allocations: 15.91 kB / 0.7448 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.3903, allocations: 150.3 kB / 0.7449 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3903, allocations: 0 / 0.7449 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3903, allocations: 0 / 0.7449 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3903, allocations: 0 / 0.7449 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3905, allocations: 149.3 kB / 0.7451 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3905, allocations: 0 / 0.7451 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3906, allocations: 19.92 kB / 0.7451 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3906, allocations: 0 / 0.7451 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3906, allocations: 11.94 kB / 0.7451 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.3906, allocations: 7.922 kB / 0.7451 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3906, allocations: 0 / 0.7451 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.3909, allocations: 219.5 kB / 0.7453 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.391, allocations: 7.938 kB / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.391, allocations: 4 kB / 0.7453 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.3911, allocations: 7.938 kB / 0.7453 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.3911, allocations: 3.984 kB / 0.7453 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3911, allocations: 8 kB / 0.7453 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.3912, allocations: 109.9 kB / 0.7454 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3912, allocations: 0 / 0.7454 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002482/0.3915, allocations: 27.89 kB / 0.7455 GB, free: 9.055 MB / 0.5762 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 (6): * Single equations (assignments): 6 * 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.0001436/0.3916, allocations: 95.19 kB / 0.7456 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.3919, allocations: 95.92 kB / 0.7457 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3919, allocations: 0 / 0.7457 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.3921, allocations: 59.91 kB / 0.7457 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3923, allocations: 4 kB / 0.7457 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.3928, allocations: 231.6 kB / 0.7459 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.159e-05/0.3929, allocations: 84.31 kB / 0.746 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.744e-05/0.3929, allocations: 11.98 kB / 0.746 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.3929, allocations: 16.5 kB / 0.746 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.3929, allocations: 0 / 0.746 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of Templates: time 0.003373/0.3963, allocations: 0.6984 MB / 0.7467 GB, free: 7.719 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.495654692873359] Failed to read output from testmodel.py, exit status != 0: 0.4042782559990883 0.418996558 0.030937798000000002 Calling exit ...