Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.001485/0.001485, allocations: 83.97 kB / 19.77 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.001537/0.001537, allocations: 158.1 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.325/1.325, 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.002342/0.002342, allocations: 240.5 kB / 260 MB, free: 424 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.883/0.883, 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [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.002972/0.002972, allocations: 107.8 kB / 0.6474 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3709, allocations: 95.34 MB / 0.7405 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002099/0.373, allocations: 1.463 MB / 0.7419 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.3735, allocations: 241.1 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.3735, allocations: 4 kB / 0.7421 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.3735, allocations: 3.938 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.655e-05/0.3735, allocations: 2.141 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3739, allocations: 67.7 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.263e-05/0.3739, allocations: 22.98 kB / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.656e-05/0.374, allocations: 3.656 kB / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.374, allocations: 12.98 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.374, allocations: 5.047 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.946e-06/0.374, allocations: 2.344 kB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3742, allocations: 62.91 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3742, allocations: 10 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.3742, allocations: 8.25 kB / 0.7423 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3743, allocations: 56.5 kB / 0.7424 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3743, allocations: 0 / 0.7424 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3743, allocations: 0.7969 kB / 0.7424 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3743, allocations: 1.062 kB / 0.7424 GB, free: 16.2 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.0003214/0.3747, allocations: 268.8 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3747, allocations: 9.375 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3747, allocations: 7.609 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.3748, allocations: 108.7 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3748, allocations: 6.562 kB / 0.7428 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.3748, allocations: 1.719 kB / 0.7428 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3749, allocations: 49.16 kB / 0.7428 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.375, allocations: 192 / 0.7428 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.375, allocations: 8.578 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.375, allocations: 1.094 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.3751, allocations: 32.48 kB / 0.7428 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.3753, allocations: 191.2 kB / 0.743 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3754, allocations: 44.3 kB / 0.7431 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.3755, allocations: 22.17 kB / 0.7431 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.376, allocations: 80.53 kB / 0.7432 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.376, allocations: 35.66 kB / 0.7432 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.376, allocations: 0 / 0.7432 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003192/0.3763, allocations: 80.17 kB / 0.7433 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3764, allocations: 53.56 kB / 0.7433 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.3764, allocations: 100.4 kB / 0.7434 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.3764, allocations: 26.77 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.3764, allocations: 89.81 kB / 0.7435 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.3764, allocations: 14.41 kB / 0.7435 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3765, allocations: 16.31 kB / 0.7436 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.3765, allocations: 313.6 kB / 0.7439 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.3766, allocations: 18.11 kB / 0.7439 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.3766, allocations: 13.58 kB / 0.7439 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3768, allocations: 42.39 kB / 0.7439 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3768, allocations: 0 / 0.7439 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/0.3769, allocations: 74.47 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.377, allocations: 7.75 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.377, allocations: 1.375 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.377, allocations: 0.75 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3771, allocations: 9.125 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3771, allocations: 0 / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.3771, allocations: 10.12 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3771, allocations: 0.8438 kB / 0.744 GB, free: 14.71 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.561e-05/0.3771, allocations: 113.2 kB / 0.7441 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.3772, allocations: 5.219 kB / 0.7441 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.3774, allocations: 74.66 kB / 0.7442 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3774, allocations: 2.359 kB / 0.7442 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3774, allocations: 192 / 0.7442 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3774, allocations: 3.938 kB / 0.7442 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.3775, allocations: 108.3 kB / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3775, allocations: 1.625 kB / 0.7443 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.3775, allocations: 12.7 kB / 0.7443 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3775, allocations: 3.938 kB / 0.7443 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3775, allocations: 1.344 kB / 0.7443 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3775, allocations: 0.6094 kB / 0.7443 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3775, allocations: 0 / 0.7443 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.3777, allocations: 167.9 kB / 0.7445 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.3777, allocations: 13.31 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.3777, allocations: 1.188 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.3778, allocations: 10.97 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3778, allocations: 2.609 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3778, allocations: 1.281 kB / 0.7445 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.3779, allocations: 79.14 kB / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002299/0.3781, allocations: 23.16 kB / 0.7446 GB, free: 14.16 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.0001306/0.3782, allocations: 120.1 kB / 0.7447 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.3784, allocations: 35.05 kB / 0.7448 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3784, allocations: 0 / 0.7448 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.011e-05/0.3785, allocations: 17.22 kB / 0.7448 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3787, allocations: 5.953 kB / 0.7448 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.3789, allocations: 104.8 kB / 0.7449 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.3789, allocations: 64.48 kB / 0.745 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.379, allocations: 5.062 kB / 0.745 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.379, allocations: 10.52 kB / 0.745 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.379, allocations: 0 / 0.745 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.002868/0.3818, allocations: 0.6906 MB / 0.7456 GB, free: 13.75 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3750910989474505] Failed to read output from testmodel.py, exit status != 0: 0.38902979297563434 0.3988454 0.022195702 Calling exit ...