Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.001509/0.001509, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001598/0.001598, allocations: 156.5 kB / 23.01 MB, free: 4.949 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.335/1.335, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.002328/0.002328, allocations: 233.9 kB / 260 MB, free: 432 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.8767/0.8767, 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [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.00295/0.00295, allocations: 95.84 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3728, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002181/0.375, allocations: 1.455 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0004582/0.3755, allocations: 237.8 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.3755, allocations: 1.156 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.3755, allocations: 0 / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.345e-05/0.3756, allocations: 4.828 kB / 0.7421 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.3759, allocations: 65.77 kB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.3759, allocations: 15.36 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.376, allocations: 8.312 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.3761, allocations: 5.109 kB / 0.7422 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.3761, allocations: 12.94 kB / 0.7422 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.3761, allocations: 2.5 kB / 0.7422 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3762, allocations: 60.75 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3762, allocations: 2.531 kB / 0.7423 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.3763, allocations: 15.48 kB / 0.7423 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3764, allocations: 53.64 kB / 0.7423 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3764, allocations: 0 / 0.7423 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3764, allocations: 0 / 0.7423 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3764, allocations: 0.9688 kB / 0.7423 GB, free: 16.17 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.0003481/0.3767, allocations: 271 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3768, allocations: 10.69 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.3768, allocations: 7.5 kB / 0.7426 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.3769, allocations: 110.1 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3769, allocations: 384 / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3769, allocations: 1.844 kB / 0.7427 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.3771, allocations: 48.98 kB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3771, allocations: 192 / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3771, allocations: 9.781 kB / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3771, allocations: 0 / 0.7428 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3772, allocations: 41.27 kB / 0.7428 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.3775, allocations: 197.7 kB / 0.743 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3776, allocations: 37.34 kB / 0.743 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3777, allocations: 18.66 kB / 0.7431 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004533/0.3781, allocations: 75.64 kB / 0.7431 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3781, allocations: 36.91 kB / 0.7432 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3781, allocations: 0 / 0.7432 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003241/0.3785, allocations: 83.42 kB / 0.7432 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/0.3785, allocations: 52.5 kB / 0.7433 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.3785, allocations: 100.7 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.3785, allocations: 28.08 kB / 0.7434 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.3786, allocations: 84.7 kB / 0.7435 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3786, allocations: 13.84 kB / 0.7435 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.3786, allocations: 16.73 kB / 0.7435 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.3786, allocations: 313 kB / 0.7438 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.3787, allocations: 18.14 kB / 0.7438 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.3788, allocations: 18.44 kB / 0.7439 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3789, allocations: 41.19 kB / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3789, allocations: 0 / 0.7439 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.3791, allocations: 72.45 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3791, allocations: 5.047 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3791, allocations: 0 / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3791, allocations: 1.938 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.3792, allocations: 12.34 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3792, allocations: 0 / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3792, allocations: 11.06 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3792, allocations: 32 / 0.744 GB, free: 14.68 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 (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 prepare postOptimizeDAE: time 3.548e-05/0.3793, allocations: 113.5 kB / 0.7441 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3793, allocations: 6.156 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3795, allocations: 78.25 kB / 0.7442 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3795, allocations: 1.562 kB / 0.7442 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3795, allocations: 0 / 0.7442 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3795, allocations: 0.7031 kB / 0.7442 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.159e-05/0.3796, allocations: 100 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3796, allocations: 1.281 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.3797, allocations: 12.09 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3797, allocations: 5.641 kB / 0.7443 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3797, allocations: 4 kB / 0.7443 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3797, allocations: 0.7969 kB / 0.7443 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3797, allocations: 1.094 kB / 0.7443 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3799, allocations: 166.7 kB / 0.7445 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.3799, allocations: 5.656 kB / 0.7445 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.3799, allocations: 2.047 kB / 0.7445 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.3799, allocations: 14.2 kB / 0.7445 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.38, allocations: 1.906 kB / 0.7445 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.38, allocations: 1.922 kB / 0.7445 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.38, allocations: 80.39 kB / 0.7446 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.38, allocations: 0 / 0.7446 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002238/0.3802, allocations: 13.62 kB / 0.7446 GB, free: 14.14 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.0001267/0.3803, allocations: 115.6 kB / 0.7447 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.3805, allocations: 40.3 kB / 0.7447 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3805, allocations: 3.938 kB / 0.7447 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.3806, allocations: 19.25 kB / 0.7448 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3808, allocations: 5.047 kB / 0.7448 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.381, allocations: 117.6 kB / 0.7449 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.3811, allocations: 59.88 kB / 0.7449 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.3811, allocations: 1.281 kB / 0.7449 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.3811, allocations: 10.44 kB / 0.7449 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.3811, allocations: 1.281 kB / 0.7449 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.002813/0.3839, allocations: 0.6794 MB / 0.7456 GB, free: 13.73 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3654350460274145] Failed to read output from testmodel.py, exit status != 0: 0.39075647899881005 0.400751795 0.022016426000000002 Calling exit ...