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.0009234/0.0009235, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006309/0.00631, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 11.28 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3466, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001696/0.3484, allocations: 1.158 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005872/0.349, allocations: 255.3 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.349, allocations: 0 / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.349, allocations: 0 / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.3491, allocations: 3.938 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3494, allocations: 51.88 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.3495, allocations: 19.94 kB / 1.076 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.3496, allocations: 11.92 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.3496, allocations: 4 kB / 1.076 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.3497, allocations: 11.92 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.3497, allocations: 4 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3498, allocations: 59.89 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3498, allocations: 3.984 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.3499, allocations: 37.62 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.35, allocations: 43.94 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.35, allocations: 7.938 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.35, allocations: 0 / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.35, allocations: 0 / 1.076 GB, free: 5.836 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.0004302/0.3505, allocations: 343.8 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3505, allocations: 8.031 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3506, allocations: 8.844 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3507, allocations: 176.4 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3507, allocations: 384 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3507, allocations: 384 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3509, allocations: 58.17 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.3509, allocations: 192 / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3509, allocations: 7.938 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3509, allocations: 0 / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.3511, allocations: 43.97 kB / 1.076 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.3515, allocations: 249 kB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3516, allocations: 50.44 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.3517, allocations: 24.91 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.3524, allocations: 461.5 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3524, allocations: 30.56 kB / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3524, allocations: 0 / 1.077 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003809/0.3528, allocations: 97.64 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3529, allocations: 55.41 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.353, allocations: 101.8 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.353, allocations: 29.64 kB / 1.077 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.353, allocations: 88.05 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.3531, allocations: 0 / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.3531, allocations: 13.84 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3532, allocations: 314.8 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.3533, allocations: 27.91 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.3534, allocations: 19.98 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.3536, allocations: 52.89 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3536, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002139/0.3538, allocations: 85.5 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3539, allocations: 4 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3539, allocations: 4 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3539, allocations: 3.938 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.354, allocations: 15.92 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.354, allocations: 0 / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-05/0.3541, allocations: 8.031 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3541, allocations: 4 kB / 1.078 GB, free: 3.18 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.348e-05/0.3542, allocations: 114.4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3542, allocations: 0 / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3545, allocations: 84.78 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3545, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3545, allocations: 4 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3545, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.3547, allocations: 157.6 kB / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3547, allocations: 3.984 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.3548, allocations: 8 kB / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3548, allocations: 0 / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3548, allocations: 3.938 kB / 1.078 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3548, allocations: 4.031 kB / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3548, allocations: 0 / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3552, allocations: 179.5 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3552, allocations: 88.94 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3552, allocations: 4 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3553, allocations: 8 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3553, allocations: 3.984 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3554, allocations: 0 / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.3554, allocations: 83.28 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3554, allocations: 0 / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002395/0.3557, allocations: 16 kB / 1.079 GB, free: 2.332 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.0002236/0.3559, allocations: 119.3 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.3561, allocations: 47.91 kB / 1.079 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3561, allocations: 0 / 1.079 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.405e-05/0.3562, allocations: 27.97 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3565, allocations: 7.938 kB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.3568, allocations: 112.8 kB / 1.079 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3571, allocations: 0.6809 MB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3571, allocations: 0 / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3571, allocations: 7.438 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3571, allocations: 0 / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.002908/0.36, allocations: 0.5795 MB / 1.08 GB, free: 0.6953 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)