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.0008435/0.0008435, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009203/0.0009203, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8881/0.8881, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 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.001488/0.001488, allocations: 238 kB / 260.2 MB, free: 13.01 MB / 250.7 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.6801/0.6801, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.432e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.2691/0.2692, allocations: 1.445 MB / 0.6489 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004753/0.2696, allocations: 244.4 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.2697, allocations: 0.875 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.2697, allocations: 1.531 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.2697, allocations: 8.062 kB / 0.6492 GB, free: 56.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2701, allocations: 60.98 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.2702, allocations: 25.67 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.2703, allocations: 4.625 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.2703, allocations: 15.78 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.2703, allocations: 6.781 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2704, allocations: 3.25 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.2705, allocations: 58.44 kB / 0.6494 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.2705, allocations: 5.344 kB / 0.6494 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.2705, allocations: 8.797 kB / 0.6494 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2707, allocations: 68.73 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2707, allocations: 0 / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2707, allocations: 0.5938 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2707, allocations: 2.125 kB / 0.6494 GB, free: 56.29 MB / 0.5573 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.0003219/0.271, allocations: 265.2 kB / 0.6497 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.271, allocations: 11.89 kB / 0.6497 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.2711, allocations: 5.062 kB / 0.6497 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.744e-05/0.2711, allocations: 107.1 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2711, allocations: 1.531 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.2711, allocations: 2.188 kB / 0.6498 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2713, allocations: 48.67 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2713, allocations: 0.75 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.2713, allocations: 5.094 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2713, allocations: 1.938 kB / 0.6499 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.2714, allocations: 39.86 kB / 0.6499 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.2716, allocations: 193.6 kB / 0.6501 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.2717, allocations: 39.16 kB / 0.6501 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.2717, allocations: 23.19 kB / 0.6502 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.2721, allocations: 77.92 kB / 0.6502 GB, free: 55.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2722, allocations: 36.39 kB / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2722, allocations: 0 / 0.6503 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.2724, allocations: 86.47 kB / 0.6503 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.2724, allocations: 56.64 kB / 0.6504 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/0.2725, allocations: 97.75 kB / 0.6505 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.2725, allocations: 25.7 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.2725, allocations: 87 kB / 0.6506 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2725, allocations: 10.58 kB / 0.6506 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2725, allocations: 14.45 kB / 0.6506 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.2726, allocations: 317 kB / 0.6509 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.2726, allocations: 14.05 kB / 0.6509 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.2726, allocations: 17.02 kB / 0.651 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.084e-05/0.2727, allocations: 43.06 kB / 0.651 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2727, allocations: 0 / 0.651 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.2728, allocations: 68.47 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2729, allocations: 11.41 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2729, allocations: 3.938 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2729, allocations: 1.188 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.2729, allocations: 8.719 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2729, allocations: 0.8125 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.273, allocations: 6.5 kB / 0.6511 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.273, allocations: 0.8438 kB / 0.6511 GB, free: 54.9 MB / 0.5573 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.801e-05/0.273, allocations: 112.7 kB / 0.6512 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.273, allocations: 4.047 kB / 0.6512 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.2732, allocations: 76.27 kB / 0.6513 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2732, allocations: 3.719 kB / 0.6513 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2732, allocations: 2.312 kB / 0.6513 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2732, allocations: 0.6875 kB / 0.6513 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.2733, allocations: 107 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2733, allocations: 0.6094 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.2733, allocations: 13.31 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2733, allocations: 0.9688 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2733, allocations: 2.062 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2733, allocations: 3.938 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2733, allocations: 3.094 kB / 0.6514 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2734, allocations: 161.3 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.2734, allocations: 2.906 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2734, allocations: 6.672 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.2735, allocations: 10.34 kB / 0.6516 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.2735, allocations: 7.281 kB / 0.6516 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2735, allocations: 4.594 kB / 0.6516 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.003e-05/0.2735, allocations: 83.11 kB / 0.6517 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2735, allocations: 0 / 0.6517 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001608/0.2737, allocations: 18 kB / 0.6517 GB, free: 54.39 MB / 0.5573 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.0001678/0.2739, allocations: 113 kB / 0.6518 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.274, allocations: 36.33 kB / 0.6518 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.274, allocations: 0 / 0.6518 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.274, allocations: 23.12 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.2742, allocations: 4.75 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.2745, allocations: 135.2 kB / 0.652 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.2745, allocations: 60.7 kB / 0.652 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.2745, allocations: 12.55 kB / 0.6521 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.2745, allocations: 2.531 kB / 0.6521 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.001904/0.2764, allocations: 0.7876 MB / 0.6528 GB, free: 54.07 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.541379921138287] Failed to read output from testmodel.py, exit status != 0: 0.28232326451689005 0.291076726 0.018699625 Calling exit ...