Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001077/0.001077, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 193 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.776/2.776, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 69.42 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3197, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001768/0.3215, allocations: 0.5831 MB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004349/0.322, allocations: 187.4 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.125e-05/0.322, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.322, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.322, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3224, allocations: 55.83 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.34e-05/0.3224, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.3225, allocations: 3.984 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.3225, allocations: 8 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.127e-05/0.3225, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.3225, allocations: 3.938 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3227, allocations: 55.88 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.343e-06/0.3227, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.3227, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3228, allocations: 31.95 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3228, allocations: 4 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3229, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3229, allocations: 0 / 1.069 GB, free: 9.473 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.0002881/0.3232, allocations: 319.6 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3232, allocations: 8.031 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.3232, allocations: 4.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.3233, allocations: 164.4 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3233, allocations: 384 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3234, allocations: 384 / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.3235, allocations: 30.27 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3235, allocations: 192 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.3235, allocations: 11.88 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3235, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.3235, allocations: 3.984 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3237, allocations: 145.7 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.3237, allocations: 24.78 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.3237, allocations: 8.859 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/0.3245, allocations: 453.5 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3245, allocations: 38.55 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3245, allocations: 0 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.3247, allocations: 41.58 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3247, allocations: 59.28 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.177e-05/0.3247, allocations: 89.86 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3247, allocations: 25.7 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.3248, allocations: 84.14 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3248, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.3248, allocations: 13.83 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.3249, allocations: 314.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.325, allocations: 4 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-06/0.325, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.325, allocations: 12.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.325, allocations: 4 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.109e-05/0.3251, allocations: 33.61 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3251, allocations: 4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3251, allocations: 4.094 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3251, allocations: 7.922 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.3252, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3252, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.3252, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3252, allocations: 0 / 1.071 GB, free: 7.281 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 6.484e-05/0.3253, allocations: 105.8 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.3253, allocations: 8 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.3254, allocations: 52.69 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3254, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3254, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3254, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.798e-05/0.3255, allocations: 141.7 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3255, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.3255, allocations: 4 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3255, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3255, allocations: 3.938 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3255, allocations: 3.984 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3255, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.47e-05/0.3256, allocations: 65.11 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.3257, allocations: 77.11 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3257, allocations: 3.938 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-06/0.3257, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.3257, allocations: 7.922 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.3257, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.533e-05/0.3257, allocations: 79.28 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3257, allocations: 4.031 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001968/0.3259, allocations: 8 kB / 1.071 GB, free: 6.625 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.0002151/0.3262, allocations: 119.8 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.745e-05/0.3262, allocations: 11.94 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3263, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.583e-06/0.3263, allocations: 4.062 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3264, allocations: 5.562 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.3266, allocations: 84.86 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3268, allocations: 0.669 MB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.327e-05/0.3268, allocations: 7.984 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.3269, allocations: 7.438 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3269, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.002407/0.3293, allocations: 400.5 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)