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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7507/0.7507, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009417/0.0009416, allocations: 182.5 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 426.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007845/0.0007846, allocations: 98.25 kB / 0.4945 GB, free: 8.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001655/0.001654, allocations: 269.5 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004696, allocations: 24 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3493, allocations: 79.31 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4811, allocations: 107.3 MB / 0.8442 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4813, allocations: 71.95 kB / 0.8443 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.4855, allocations: 1.541 MB / 0.8458 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4856, allocations: 0 / 0.8458 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4856, allocations: 0 / 0.8458 GB, free: 1.281 MB / 0.5105 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.0003627/0.4859, allocations: 351.5 kB / 0.8461 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.486, allocations: 15.97 kB / 0.8462 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.486, allocations: 4.844 kB / 0.8462 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4861, allocations: 168.4 kB / 0.8463 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4862, allocations: 12.31 kB / 0.8463 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.4862, allocations: 384 / 0.8463 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.4863, allocations: 58.23 kB / 0.8464 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4864, allocations: 192 / 0.8464 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.4864, allocations: 3.938 kB / 0.8464 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4864, allocations: 0 / 0.8464 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.4865, allocations: 39.97 kB / 0.8464 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.4869, allocations: 268.9 kB / 0.8467 GB, free: 240 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4871, allocations: 50.44 kB / 0.8467 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.4871, allocations: 28.91 kB / 0.8468 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004989/0.4876, allocations: 441.5 kB / 0.8472 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4877, allocations: 42.55 kB / 0.8472 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.4877, allocations: 0 / 0.8472 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000321/0.488, allocations: 93.56 kB / 0.8473 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4881, allocations: 63.45 kB / 0.8474 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.4882, allocations: 97.86 kB / 0.8475 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4882, allocations: 25.7 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.4882, allocations: 86.3 kB / 0.8476 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4882, allocations: 3.906 kB / 0.8476 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4883, allocations: 4 kB / 0.8476 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4884, allocations: 314.8 kB / 0.8479 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.4884, allocations: 23.98 kB / 0.8479 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.4885, allocations: 23.92 kB / 0.8479 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4887, allocations: 52.88 kB / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4887, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.4889, allocations: 81.55 kB / 0.8481 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4889, allocations: 8.031 kB / 0.8481 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.4889, allocations: 0 / 0.8481 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4889, allocations: 0 / 0.8481 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.489, allocations: 11.98 kB / 0.8481 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.489, allocations: 0 / 0.8481 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.4891, allocations: 11.98 kB / 0.8481 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4891, allocations: 0 / 0.8481 GB, free: 14.63 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.4892, allocations: 121.7 kB / 0.8482 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4892, allocations: 4 kB / 0.8482 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.4894, allocations: 76.78 kB / 0.8483 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4894, allocations: 0 / 0.8483 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4894, allocations: 0 / 0.8483 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4894, allocations: 8.016 kB / 0.8483 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.4896, allocations: 157.8 kB / 0.8484 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4896, allocations: 0 / 0.8484 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.4897, allocations: 19.92 kB / 0.8485 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4897, allocations: 3.984 kB / 0.8485 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4897, allocations: 0 / 0.8485 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4897, allocations: 4 kB / 0.8485 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4897, allocations: 0 / 0.8485 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.4899, allocations: 171.5 kB / 0.8486 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.49, allocations: 81.02 kB / 0.8487 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.49, allocations: 0 / 0.8487 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.49, allocations: 20.02 kB / 0.8487 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.4901, allocations: 0 / 0.8487 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.4901, allocations: 4 kB / 0.8487 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.4901, allocations: 75.28 kB / 0.8488 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4901, allocations: 0 / 0.8488 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002325/0.4904, allocations: 27.92 kB / 0.8488 GB, free: 13.78 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002488/0.4906, allocations: 139.1 kB / 0.849 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.4908, allocations: 43.97 kB / 0.849 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4908, allocations: 4.062 kB / 0.849 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.4909, allocations: 23.97 kB / 0.849 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.4912, allocations: 7.938 kB / 0.849 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.4915, allocations: 104.7 kB / 0.8491 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4918, allocations: 0.681 MB / 0.8498 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.4918, allocations: 7.938 kB / 0.8498 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.4919, allocations: 7.438 kB / 0.8498 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.4919, allocations: 0 / 0.8498 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.00258/0.4945, allocations: 0.572 MB / 0.8504 GB, free: 12.14 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (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)