Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001738, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 198.2 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.97 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002875/0.3923, allocations: 1.493 MB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000535/0.3929, allocations: 259.3 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3929, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.3929, allocations: 3.938 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.393, allocations: 3.938 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.3933, allocations: 43.91 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.3933, allocations: 23.92 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.3934, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.3935, allocations: 11.98 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.3935, allocations: 11.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.3935, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3937, allocations: 67.88 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.3938, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.3938, allocations: 3.938 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3939, allocations: 59.78 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3939, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.394, allocations: 4 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.394, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 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.0004274/0.3944, allocations: 347.7 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3944, allocations: 8.031 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.3945, allocations: 0.9375 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3946, allocations: 164.4 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3946, allocations: 384 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3946, allocations: 384 / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3948, allocations: 58.22 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3948, allocations: 192 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3948, allocations: 3.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3948, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.395, allocations: 39.89 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.3954, allocations: 241 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3955, allocations: 46.48 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.3956, allocations: 24.91 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007928/0.3964, allocations: 445.5 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.3965, allocations: 42.48 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3965, allocations: 4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003541/0.3968, allocations: 77.56 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3969, allocations: 55.39 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.397, allocations: 101.9 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.397, allocations: 29.83 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3971, allocations: 80.14 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3971, allocations: 3.906 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3971, allocations: 21.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3973, allocations: 310.8 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.3974, allocations: 15.98 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.3975, allocations: 15.98 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.3976, allocations: 48.75 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3976, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.3979, allocations: 61.61 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3979, allocations: 11.92 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3979, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3979, allocations: 4.031 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.398, allocations: 4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.398, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.3981, allocations: 11.98 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3981, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/0.3982, allocations: 114.4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3982, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.3985, allocations: 80.72 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3985, allocations: 3.984 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3985, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3985, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3988, allocations: 161.6 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3988, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.3988, allocations: 11.98 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3988, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3989, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3989, allocations: 32 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3989, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3991, allocations: 171.3 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.3992, allocations: 81.05 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3992, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3993, allocations: 7.984 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3993, allocations: 8.031 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.3994, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.3994, allocations: 87.44 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3994, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002483/0.3997, allocations: 16 kB / 1.072 GB, free: 5.555 MB / 0.8262 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 (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.0002438/0.3999, allocations: 115.2 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.4001, allocations: 39.95 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4002, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.4002, allocations: 15.92 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4005, allocations: 15.88 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.4009, allocations: 111.4 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4012, allocations: 0.677 MB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.4013, allocations: 0 / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.4013, allocations: 11.38 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4013, allocations: 0 / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.002804/0.4041, allocations: 0.5851 MB / 1.074 GB, free: 3.926 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)