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.001331/0.001331, allocations: 80.52 kB / 19.18 MB, free: 2.527 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.00146/0.00146, allocations: 164.8 kB / 22.46 MB, free: 5.355 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.412/1.412, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002369/0.002369, allocations: 229.9 kB / 259.4 MB, free: 488 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 1.062/1.062, allocations: 138.4 MB / 454.3 MB, free: 2 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.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: Performance of FrontEnd - loaded program: time 4.699e-06/4.699e-06, allocations: 4 kB / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/3.131e-05, allocations: 2.281 kB / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002849/0.00288, allocations: 1.46 MB / 0.6482 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.003449, allocations: 236 kB / 0.6485 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.003477, allocations: 4 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.003505, allocations: 0 / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.003541, allocations: 7.875 kB / 0.6485 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.003926, allocations: 63.75 kB / 0.6485 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.91e-05/0.003995, allocations: 19.92 kB / 0.6485 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.00408, allocations: 8 kB / 0.6486 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.004135, allocations: 15.92 kB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.004165, allocations: 0 / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.004176, allocations: 4 kB / 0.6486 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.004317, allocations: 55.94 kB / 0.6486 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.004335, allocations: 11.98 kB / 0.6486 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.004354, allocations: 7.938 kB / 0.6486 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.00452, allocations: 59.84 kB / 0.6487 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004523, allocations: 3.938 kB / 0.6487 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004523, allocations: 0 / 0.6487 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.004532, allocations: 0 / 0.6487 GB, free: 3.039 MB / 0.5606 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.0004584/0.00499, allocations: 266.3 kB / 0.649 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.00503, allocations: 13.34 kB / 0.649 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.005059, allocations: 4.891 kB / 0.649 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.005182, allocations: 105.8 kB / 0.6491 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.005196, allocations: 8.375 kB / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.005209, allocations: 384 / 0.6491 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.005386, allocations: 50.23 kB / 0.6491 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005395, allocations: 192 / 0.6491 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.005403, allocations: 384 / 0.6491 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.005407, allocations: 384 / 0.6491 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.005582, allocations: 39.89 kB / 0.6492 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.005888, allocations: 192.5 kB / 0.6494 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.006025, allocations: 38.56 kB / 0.6494 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.006124, allocations: 28.89 kB / 0.6494 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.006614, allocations: 67.92 kB / 0.6495 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.006649, allocations: 30.56 kB / 0.6495 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.00665, allocations: 4 kB / 0.6495 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.007035, allocations: 93.47 kB / 0.6496 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.007076, allocations: 51.41 kB / 0.6497 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.007169, allocations: 101.8 kB / 0.6498 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.007186, allocations: 25.7 kB / 0.6498 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.007237, allocations: 84.14 kB / 0.6499 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.007256, allocations: 7.891 kB / 0.6499 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.007291, allocations: 13.84 kB / 0.6499 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.007444, allocations: 318.8 kB / 0.6502 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.007533, allocations: 19.97 kB / 0.6502 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.007612, allocations: 15.98 kB / 0.6502 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.00777, allocations: 36.83 kB / 0.6503 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007771, allocations: 3.938 kB / 0.6503 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002108/0.007982, allocations: 69.66 kB / 0.6503 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.007996, allocations: 8 kB / 0.6503 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.008002, allocations: 4.125 kB / 0.6503 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.008013, allocations: 0 / 0.6503 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.008092, allocations: 7.984 kB / 0.6503 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.008097, allocations: 4 kB / 0.6503 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.008145, allocations: 7.984 kB / 0.6504 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.008152, allocations: 3.984 kB / 0.6504 GB, free: 1.172 MB / 0.5606 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 8.409e-05/0.008236, allocations: 113.9 kB / 0.6505 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.008262, allocations: 4 kB / 0.6505 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.008496, allocations: 72.84 kB / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008498, allocations: 0 / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008502, allocations: 0 / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.008505, allocations: 0 / 0.6505 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.008647, allocations: 105.3 kB / 0.6506 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008648, allocations: 4 kB / 0.6506 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.008713, allocations: 16.02 kB / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008715, allocations: 0 / 0.6507 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.008721, allocations: 3.938 kB / 0.6507 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.008725, allocations: 3.938 kB / 0.6507 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.008728, allocations: 4 kB / 0.6507 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.008996, allocations: 163.5 kB / 0.6508 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.009002, allocations: 0 / 0.6508 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.009014, allocations: 0 / 0.6508 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.009094, allocations: 11.95 kB / 0.6508 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.009127, allocations: 7.938 kB / 0.6508 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.009131, allocations: 4 kB / 0.6508 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.009178, allocations: 79.28 kB / 0.6509 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.009178, allocations: 0 / 0.6509 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002425/0.009421, allocations: 19.94 kB / 0.6509 GB, free: 0.5078 MB / 0.5606 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.0002291/0.00965, allocations: 115.2 kB / 0.6511 GB, free: 392 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.009891, allocations: 35.95 kB / 0.6511 GB, free: 356 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.009896, allocations: 4 kB / 0.6511 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.009981, allocations: 11.98 kB / 0.6511 GB, free: 340 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.01022, allocations: 10.66 kB / 0.6511 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.01052, allocations: 108.7 kB / 0.6512 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.01058, allocations: 67.47 kB / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.0106, allocations: 0 / 0.6513 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.01063, allocations: 8.5 kB / 0.6513 GB, free: 96 kB / 0.5606 GB Notification: Performance of SimCode: time 6.32e-07/0.01063, allocations: 7.938 kB / 0.6513 GB, free: 88 kB / 0.5606 GB Notification: Performance of Templates: time 0.24/0.2506, allocations: 0.6798 MB / 0.652 GB, free: 56.88 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6292680613696575] Failed to read output from testmodel.py, exit status != 0: 0.2584008015692234 0.266869752 0.260148716 Calling exit ...