Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.0009651, allocations: 91.84 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.008048/0.008048, allocations: 170 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 17.58 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007655/0.357, allocations: 318.9 kB / 1.074 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004903/0.3575, allocations: 189.6 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-06/0.3575, allocations: 0 / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.3575, allocations: 0 / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.3575, allocations: 0 / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3578, allocations: 39.91 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.162e-05/0.3579, allocations: 3.984 kB / 1.075 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.3579, allocations: 8 kB / 1.075 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.3579, allocations: 4 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.358, allocations: 0 / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.358, allocations: 3.938 kB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.3582, allocations: 63.88 kB / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.254e-06/0.3582, allocations: 0 / 1.075 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.3582, allocations: 25.7 kB / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3583, allocations: 43.88 kB / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3583, allocations: 0 / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3583, allocations: 0 / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3583, allocations: 4 kB / 1.075 GB, free: 6.777 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002626/0.3586, allocations: 311.6 kB / 1.075 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3587, allocations: 12.02 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.3587, allocations: 0.9375 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.361e-05/0.3588, allocations: 164.4 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3588, allocations: 4.375 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.3588, allocations: 384 / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.3589, allocations: 26.27 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3589, allocations: 192 / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3589, allocations: 7.938 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3589, allocations: 0 / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.359, allocations: 7.938 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3591, allocations: 149.7 kB / 1.075 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.3591, allocations: 14.67 kB / 1.075 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.3592, allocations: 8.859 kB / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006706/0.3598, allocations: 457.5 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.3599, allocations: 34.55 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3599, allocations: 0 / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001133/0.36, allocations: 41.52 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.36, allocations: 55.34 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.3601, allocations: 93.98 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3601, allocations: 29.7 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.3601, allocations: 80.14 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3602, allocations: 4 kB / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.3602, allocations: 9.719 kB / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.3603, allocations: 310.8 kB / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-06/0.3603, allocations: 0 / 1.077 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-06/0.3603, allocations: 3.984 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.3603, allocations: 12.92 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3603, allocations: 0 / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.168e-05/0.3604, allocations: 37.64 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3604, allocations: 8 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3604, allocations: 0 / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.3604, allocations: 3.938 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.3605, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3605, allocations: 3.984 kB / 1.077 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.3605, allocations: 7.906 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3605, allocations: 0 / 1.077 GB, free: 4.598 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 (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 5.664e-05/0.3606, allocations: 113.9 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.3606, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.3606, allocations: 40.7 kB / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3607, allocations: 0 / 1.077 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3607, allocations: 4 kB / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3607, allocations: 0 / 1.077 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.3608, allocations: 149.7 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3608, allocations: 0 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-05/0.3608, allocations: 32 / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3608, allocations: 8 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3608, allocations: 7.938 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3608, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3608, allocations: 0 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.185e-05/0.3609, allocations: 57.12 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.3609, allocations: 77.11 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.3609, allocations: 7.938 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.3609, allocations: 4.031 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.361, allocations: 7.875 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.361, allocations: 0 / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.128e-05/0.361, allocations: 75.28 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001902/0.3612, allocations: 16 kB / 1.077 GB, free: 3.938 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 (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.0001876/0.3614, allocations: 123.2 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.479e-05/0.3615, allocations: 4 kB / 1.077 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3615, allocations: 0 / 1.077 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.3615, allocations: 4 kB / 1.077 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.3616, allocations: 0 / 1.077 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.3618, allocations: 82.75 kB / 1.077 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.362, allocations: 0.6692 MB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.188e-05/0.362, allocations: 4.125 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-06/0.362, allocations: 11.38 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.362, allocations: 0 / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of Templates: time 0.002197/0.3642, allocations: 399.1 kB / 1.078 GB, free: 2.59 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)