Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9874/0.9874, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009788/0.000979, allocations: 179.9 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 94.62 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 270.5 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.425e-05, allocations: 11.92 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4827, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.5997, allocations: 108 MB / 0.8697 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6, allocations: 79.81 kB / 0.8698 GB, free: 488 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003093/0.6031, allocations: 1.239 MB / 0.871 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6031, allocations: 0 / 0.871 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6031, allocations: 4 kB / 0.871 GB, free: 15.24 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002665/0.6034, allocations: 323.6 kB / 0.8713 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.6034, allocations: 8.031 kB / 0.8714 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.6035, allocations: 11.94 kB / 0.8714 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6036, allocations: 163.1 kB / 0.8715 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6036, allocations: 3.953 kB / 0.8715 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.6036, allocations: 0 / 0.8715 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.6037, allocations: 29.69 kB / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6037, allocations: 0 / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6037, allocations: 4 kB / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6037, allocations: 0 / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.6038, allocations: 0 / 0.8716 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.6039, allocations: 145.7 kB / 0.8717 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.604, allocations: 26.55 kB / 0.8717 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.604, allocations: 8.812 kB / 0.8717 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005601/0.6046, allocations: 437.5 kB / 0.8721 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.6046, allocations: 38.56 kB / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.6046, allocations: 0 / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001153/0.6047, allocations: 33.69 kB / 0.8722 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.6048, allocations: 59.34 kB / 0.8723 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.12e-05/0.6048, allocations: 85 kB / 0.8724 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.6048, allocations: 25.7 kB / 0.8724 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.6049, allocations: 80.14 kB / 0.8725 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.6049, allocations: 0 / 0.8725 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-06/0.6049, allocations: 4.031 kB / 0.8725 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.605, allocations: 310.8 kB / 0.8728 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-06/0.605, allocations: 3.938 kB / 0.8728 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.605, allocations: 4 kB / 0.8728 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.432e-05/0.6051, allocations: 0 / 0.8728 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6051, allocations: 0 / 0.8728 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.864e-05/0.6051, allocations: 37.69 kB / 0.8728 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6051, allocations: 11.95 kB / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.6052, allocations: 4.094 kB / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6052, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.6052, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6052, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.6052, allocations: 4 kB / 0.8728 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.6053, allocations: 3.938 kB / 0.8728 GB, free: 13.11 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.377e-05/0.6053, allocations: 101 kB / 0.8729 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-06/0.6053, allocations: 0 / 0.8729 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.6054, allocations: 44.67 kB / 0.873 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.6054, allocations: 4.031 kB / 0.873 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6054, allocations: 4 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6054, allocations: 4 kB / 0.873 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.6056, allocations: 145.7 kB / 0.8731 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6056, allocations: 3.938 kB / 0.8731 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.6056, allocations: 0 / 0.8731 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.6056, allocations: 0 / 0.8731 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.6056, allocations: 7.984 kB / 0.8731 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6056, allocations: 3.953 kB / 0.8731 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6056, allocations: 3.984 kB / 0.8731 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.836e-05/0.6057, allocations: 57.08 kB / 0.8732 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.6057, allocations: 81.11 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.6057, allocations: 4 kB / 0.8733 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/0.6058, allocations: 3.984 kB / 0.8733 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.6058, allocations: 3.953 kB / 0.8733 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.6058, allocations: 0 / 0.8733 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.6058, allocations: 75.28 kB / 0.8733 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6058, allocations: 4.031 kB / 0.8733 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001872/0.606, allocations: 23.94 kB / 0.8734 GB, free: 12.45 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002754/0.6063, allocations: 131.2 kB / 0.8735 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.921e-05/0.6064, allocations: 7.938 kB / 0.8735 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6064, allocations: 8 kB / 0.8735 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.6064, allocations: 0 / 0.8735 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.943e-05/0.6065, allocations: 4 kB / 0.8735 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001335/0.6066, allocations: 53.05 kB / 0.8736 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6069, allocations: 0.6692 MB / 0.8742 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.6069, allocations: 3.75 kB / 0.8742 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.6069, allocations: 11.44 kB / 0.8742 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.6069, allocations: 0 / 0.8742 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.002016/0.6089, allocations: 387.8 kB / 0.8746 GB, free: 11.14 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)