Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.533/1.533, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.3 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 90.84 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 8 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5845, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.7513, allocations: 137.7 MB / 1.108 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.7516, allocations: 71.95 kB / 1.108 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003447/0.7551, allocations: 1.238 MB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7551, allocations: 0 / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7551, allocations: 0 / 1.109 GB, free: 11.27 MB / 0.7136 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.0002471/0.7554, allocations: 326.6 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7554, allocations: 8.031 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.7555, allocations: 0.7812 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.7556, allocations: 167 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.7556, allocations: 0.625 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.7556, allocations: 0 / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.405e-05/0.7557, allocations: 5.312 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.979e-05/0.7557, allocations: 33.64 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7557, allocations: 0.5 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.7558, allocations: 0 / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7558, allocations: 0.5 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.7559, allocations: 126.8 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.756, allocations: 20.41 kB / 1.11 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.756, allocations: 4.859 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.7566, allocations: 444.1 kB / 1.11 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7566, allocations: 30.56 kB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.7566, allocations: 4.812 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.7568, allocations: 37.19 kB / 1.11 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.7568, allocations: 55.91 kB / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.881e-05/0.7568, allocations: 86.28 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.7569, allocations: 25.7 kB / 1.11 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.7569, allocations: 81.86 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.7569, allocations: 7.906 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.7569, allocations: 0 / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.757, allocations: 310.8 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.757, allocations: 1.125 kB / 1.111 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-06/0.7571, allocations: 4 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.7571, allocations: 5.094 kB / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7571, allocations: 0 / 1.111 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.251e-05/0.7572, allocations: 34.22 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7572, allocations: 11.95 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.7572, allocations: 0.6562 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7572, allocations: 0.6562 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.816e-05/0.7573, allocations: 3.938 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.7573, allocations: 0.875 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.7573, allocations: 0 / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.7573, allocations: 5.594 kB / 1.111 GB, free: 9.203 MB / 0.7136 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.208e-05/0.7574, allocations: 103.5 kB / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-06/0.7574, allocations: 0 / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.515e-05/0.7575, allocations: 46.89 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7575, allocations: 0 / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7575, allocations: 0 / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7575, allocations: 0 / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.572e-05/0.7576, allocations: 123.2 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7576, allocations: 4 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.7576, allocations: 160 / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7576, allocations: 7.984 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.7576, allocations: 2.062 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7576, allocations: 0 / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7576, allocations: 3.953 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.554e-05/0.7577, allocations: 57.08 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.7578, allocations: 77.11 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.7578, allocations: 3.984 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.7578, allocations: 4.031 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.7578, allocations: 0 / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.7578, allocations: 9.922 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.7578, allocations: 79.28 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7578, allocations: 0 / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002048/0.7581, allocations: 23.94 kB / 1.111 GB, free: 8.586 MB / 0.7136 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.0002258/0.7583, allocations: 131.2 kB / 1.111 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.318e-05/0.7583, allocations: 7.938 kB / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7584, allocations: 0 / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.7584, allocations: 4 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.755e-05/0.7585, allocations: 5.344 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001386/0.7586, allocations: 44.06 kB / 1.111 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.7588, allocations: 0.673 MB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.7589, allocations: 4 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.7589, allocations: 7.438 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7589, allocations: 0 / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of Templates: time 0.001896/0.7608, allocations: 375.8 kB / 1.112 GB, free: 7.324 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)