Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.5 MB / 267.4 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 176.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001157, allocations: 88.3 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 12.47 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007867/0.2581, allocations: 331.3 kB / 0.8971 GB, free: 67.85 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.2586, allocations: 191.4 kB / 0.8972 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.2586, allocations: 7.938 kB / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.2586, allocations: 0 / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.2587, allocations: 0 / 0.8973 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.259, allocations: 43.89 kB / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.259, allocations: 3.984 kB / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.2591, allocations: 0 / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.2591, allocations: 4 kB / 0.8973 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.194e-05/0.2591, allocations: 4 kB / 0.8973 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.572e-06/0.2591, allocations: 0 / 0.8973 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.2593, allocations: 55.89 kB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.2593, allocations: 4 kB / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.2594, allocations: 0 / 0.8974 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.2594, allocations: 23.95 kB / 0.8974 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2595, allocations: 4 kB / 0.8974 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.068e-06/0.2595, allocations: 3.984 kB / 0.8974 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2595, allocations: 3.938 kB / 0.8974 GB, free: 67.5 MB / 0.6042 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.0002342/0.2597, allocations: 312.4 kB / 0.8977 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2598, allocations: 11.97 kB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.2598, allocations: 4.844 kB / 0.8977 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.447e-05/0.2599, allocations: 160.4 kB / 0.8979 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2599, allocations: 8.375 kB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2599, allocations: 8.359 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.164e-05/0.26, allocations: 26.27 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.26, allocations: 192 / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.26, allocations: 3.938 kB / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.26, allocations: 0 / 0.8979 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.2601, allocations: 4 kB / 0.8979 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.2602, allocations: 142 kB / 0.898 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.2602, allocations: 26.52 kB / 0.8981 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.2602, allocations: 12.94 kB / 0.8981 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/0.2609, allocations: 445.5 kB / 0.8985 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.2609, allocations: 38.56 kB / 0.8985 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2609, allocations: 0 / 0.8985 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.261, allocations: 41.62 kB / 0.8986 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.261, allocations: 55.34 kB / 0.8986 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.273e-05/0.2611, allocations: 89.86 kB / 0.8987 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.2611, allocations: 25.7 kB / 0.8987 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.122e-05/0.2611, allocations: 80.14 kB / 0.8988 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2611, allocations: 7.938 kB / 0.8988 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.2612, allocations: 9.719 kB / 0.8988 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.2612, allocations: 315 kB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.2612, allocations: 0 / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.2612, allocations: 3.938 kB / 0.8991 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.2613, allocations: 12.86 kB / 0.8992 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2613, allocations: 0 / 0.8992 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.935e-05/0.2613, allocations: 33.69 kB / 0.8992 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2613, allocations: 11.94 kB / 0.8992 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2614, allocations: 4 kB / 0.8992 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.2614, allocations: 8.031 kB / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.2614, allocations: 0 / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2614, allocations: 3.938 kB / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.2615, allocations: 0 / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.2615, allocations: 4 kB / 0.8992 GB, free: 65.32 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 4.749e-05/0.2615, allocations: 105.8 kB / 0.8993 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.2615, allocations: 3.984 kB / 0.8993 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.889e-05/0.2616, allocations: 44.75 kB / 0.8994 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2616, allocations: 4.031 kB / 0.8994 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2616, allocations: 0 / 0.8994 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2616, allocations: 4 kB / 0.8994 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.831e-05/0.2617, allocations: 141.7 kB / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.2617, allocations: 0 / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.2617, allocations: 3.984 kB / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2617, allocations: 3.938 kB / 0.8995 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2617, allocations: 7.938 kB / 0.8995 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2617, allocations: 0 / 0.8995 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2617, allocations: 0 / 0.8995 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.396e-05/0.2618, allocations: 61.14 kB / 0.8996 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.2618, allocations: 81.09 kB / 0.8997 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2618, allocations: 7.938 kB / 0.8997 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-06/0.2619, allocations: 0 / 0.8997 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.2619, allocations: 0 / 0.8997 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.2619, allocations: 0 / 0.8997 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.2619, allocations: 75.28 kB / 0.8997 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2619, allocations: 0 / 0.8997 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001988/0.2621, allocations: 20.03 kB / 0.8998 GB, free: 64.66 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.0001937/0.2623, allocations: 111.2 kB / 0.8999 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.2624, allocations: 7.938 kB / 0.8999 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2624, allocations: 4 kB / 0.8999 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.2624, allocations: 8.062 kB / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.2625, allocations: 0 / 0.8999 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001549/0.2627, allocations: 100.3 kB / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2628, allocations: 0.677 MB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.137e-05/0.2628, allocations: 7.438 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2628, allocations: 3.938 kB / 0.9007 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.001669/0.2645, allocations: 0.5507 MB / 0.9012 GB, free: 63.13 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)