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.407/1.407, allocations: 252 MB / 267.6 MB, free: 10.95 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.001131/0.001131, allocations: 174 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 0.5783 GB, free: 20.19 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.0007396/0.0007394, allocations: 91.69 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 10.78 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.221, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005991/0.2216, allocations: 318.4 kB / 0.9011 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003012/0.2219, allocations: 180.7 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-06/0.2219, allocations: 0 / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.694e-06/0.2219, allocations: 0 / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.2219, allocations: 0 / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2222, allocations: 43.89 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.683e-05/0.2222, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.2223, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.019e-05/0.2223, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.2223, allocations: 7.984 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.2223, allocations: 0 / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2225, allocations: 67.88 kB / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-06/0.2225, allocations: 0 / 0.9014 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.2225, allocations: 25.7 kB / 0.9015 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.89e-05/0.2226, allocations: 15.97 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2226, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2226, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2226, allocations: 0 / 0.9015 GB, free: 63.23 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.0001535/0.2227, allocations: 315.4 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2228, allocations: 11.97 kB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.2228, allocations: 11.91 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.717e-05/0.2229, allocations: 167 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.2229, allocations: 0 / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-06/0.2229, allocations: 0 / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.223, allocations: 29.64 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-06/0.223, allocations: 0 / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.223, allocations: 4 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.223, allocations: 0 / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.376e-05/0.223, allocations: 0 / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.291e-05/0.2231, allocations: 153.6 kB / 0.9021 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.408e-05/0.2231, allocations: 22.61 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.074e-05/0.2231, allocations: 8.859 kB / 0.9022 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.2237, allocations: 453.5 kB / 0.9026 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.2237, allocations: 42.5 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2237, allocations: 0 / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 8.635e-05/0.2238, allocations: 33.7 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.2238, allocations: 51.41 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.391e-05/0.2238, allocations: 93.86 kB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/0.2238, allocations: 25.7 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-06/0.2239, allocations: 80.14 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2239, allocations: 128 / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.2239, allocations: 4 kB / 0.9029 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.2239, allocations: 314.8 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.2239, allocations: 3.938 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.224, allocations: 7.938 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.251e-05/0.224, allocations: 4 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.224, allocations: 3.953 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.587e-05/0.224, allocations: 29.7 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.224, allocations: 8 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.224, allocations: 4.094 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.2241, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.907e-05/0.2241, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.2241, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-06/0.2241, allocations: 0 / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2241, allocations: 7.984 kB / 0.9033 GB, free: 61.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.2242, allocations: 109.8 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-06/0.2242, allocations: 3.953 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.2242, allocations: 44.77 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2242, allocations: 0 / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2242, allocations: 0 / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2243, allocations: 0 / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.618e-05/0.2243, allocations: 149.7 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.2243, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.2243, allocations: 3.953 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2243, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-06/0.2243, allocations: 3.984 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2243, allocations: 4 kB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2244, allocations: 0 / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.962e-05/0.2244, allocations: 65.09 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2244, allocations: 77.11 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.2244, allocations: 3.953 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-06/0.2245, allocations: 4 kB / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-06/0.2245, allocations: 0 / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.2245, allocations: 0 / 0.9037 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.015e-05/0.2245, allocations: 75.28 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2245, allocations: 4.031 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001821/0.2247, allocations: 16 kB / 0.9038 GB, free: 60.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.2248, allocations: 115.2 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.258e-05/0.2249, allocations: 4 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.2249, allocations: 0 / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-06/0.2249, allocations: 8.062 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.225, allocations: 4 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.857e-05/0.2251, allocations: 108.2 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.991e-05/0.2252, allocations: 0.6731 MB / 0.9047 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-06/0.2252, allocations: 11.38 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2252, allocations: 0 / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.001181/0.2264, allocations: 0.5582 MB / 0.9053 GB, free: 58.87 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)