Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8028/0.8028, allocations: 128.7 MB / 143.7 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 180.4 kB / 173.8 MB, free: 6.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.638/1.638, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.0009108, allocations: 101.6 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 10.48 kB / 0.5603 GB, free: 97.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.2889, allocations: 102.8 MB / 0.7357 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.2892, allocations: 75.95 kB / 0.7357 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004458/0.2937, allocations: 1.589 MB / 0.7373 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2937, allocations: 4 kB / 0.7373 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2937, allocations: 0 / 0.7373 GB, free: 5.973 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.0003795/0.2941, allocations: 355.3 kB / 0.7376 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2941, allocations: 15.97 kB / 0.7376 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.2942, allocations: 11.86 kB / 0.7377 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2943, allocations: 163.1 kB / 0.7378 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2943, allocations: 0 / 0.7378 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.2943, allocations: 0 / 0.7378 GB, free: 5.352 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2945, allocations: 53.67 kB / 0.7379 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2945, allocations: 7.938 kB / 0.7379 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.2945, allocations: 4 kB / 0.7379 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2946, allocations: 0 / 0.7379 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2947, allocations: 43.95 kB / 0.7379 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.2951, allocations: 264.9 kB / 0.7382 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.2952, allocations: 42.59 kB / 0.7382 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.2958, allocations: 445.5 kB / 0.7386 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2958, allocations: 34.5 kB / 0.7387 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2958, allocations: 0 / 0.7387 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003498/0.2962, allocations: 101.6 kB / 0.7388 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2962, allocations: 55.36 kB / 0.7388 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.2963, allocations: 89 kB / 0.7389 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.2963, allocations: 25.7 kB / 0.7389 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.2964, allocations: 88.05 kB / 0.739 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2964, allocations: 7.984 kB / 0.739 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.2964, allocations: 8.062 kB / 0.739 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2965, allocations: 312.9 kB / 0.7393 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.2966, allocations: 19.98 kB / 0.7393 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.2967, allocations: 19.98 kB / 0.7394 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.2968, allocations: 35.97 kB / 0.7394 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2968, allocations: 0 / 0.7394 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.297, allocations: 77.58 kB / 0.7395 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.297, allocations: 5.719 kB / 0.7395 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.297, allocations: 0 / 0.7395 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.297, allocations: 0 / 0.7395 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.2971, allocations: 11.98 kB / 0.7395 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.2971, allocations: 0 / 0.7395 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.2972, allocations: 19.88 kB / 0.7395 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2972, allocations: 0 / 0.7395 GB, free: 3.402 MB / 0.5105 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.299e-05/0.2973, allocations: 117.9 kB / 0.7396 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2973, allocations: 0 / 0.7396 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.2976, allocations: 80.72 kB / 0.7397 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2976, allocations: 0 / 0.7397 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2976, allocations: 4.031 kB / 0.7397 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2976, allocations: 3.984 kB / 0.7397 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.2977, allocations: 157.6 kB / 0.7399 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2977, allocations: 3.938 kB / 0.7399 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.2978, allocations: 11.98 kB / 0.7399 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2978, allocations: 4 kB / 0.7399 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.2978, allocations: 0 / 0.7399 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2978, allocations: 0 / 0.7399 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2978, allocations: 0 / 0.7399 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.2981, allocations: 183.4 kB / 0.74 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2981, allocations: 81.2 kB / 0.7401 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2981, allocations: 4 kB / 0.7401 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.2982, allocations: 16 kB / 0.7401 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.2983, allocations: 4 kB / 0.7401 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2983, allocations: 4 kB / 0.7402 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.2983, allocations: 79.28 kB / 0.7402 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2983, allocations: 0 / 0.7402 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002465/0.2986, allocations: 23.98 kB / 0.7403 GB, free: 2.539 MB / 0.5105 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.000204/0.2988, allocations: 138.9 kB / 0.7404 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.299, allocations: 47.97 kB / 0.7404 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.299, allocations: 0 / 0.7404 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.2991, allocations: 31.91 kB / 0.7405 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.2993, allocations: 7.953 kB / 0.7405 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.2995, allocations: 100.8 kB / 0.7406 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2997, allocations: 0.6848 MB / 0.7412 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.2998, allocations: 3.984 kB / 0.7412 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.2998, allocations: 7.438 kB / 0.7412 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.2998, allocations: 0 / 0.7412 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of Templates: time 0.00225/0.3021, allocations: 0.5487 MB / 0.7418 GB, free: 0.9141 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)