Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 267.6 MB, free: 10.93 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.001149/0.001149, allocations: 183.3 kB / 327.3 MB, free: 2.23 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.725/1.725, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0009542/0.0009542, allocations: 92.23 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 11.81 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007044/0.2338, allocations: 322.4 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004166/0.2342, allocations: 184.8 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.2342, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.2343, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.141e-06/0.2343, allocations: 4 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.2346, allocations: 39.91 kB / 0.9014 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.2347, allocations: 3.938 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.2347, allocations: 0 / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.806e-05/0.2348, allocations: 7.984 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.271e-05/0.2348, allocations: 0 / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.2348, allocations: 3.984 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.235, allocations: 59.89 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.141e-06/0.235, allocations: 0 / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.235, allocations: 25.7 kB / 0.9015 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.728e-05/0.2351, allocations: 19.97 kB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2351, allocations: 0 / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2351, allocations: 0 / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2351, allocations: 0 / 0.9015 GB, free: 63.26 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.0002473/0.2354, allocations: 331.4 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2354, allocations: 8.031 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.2354, allocations: 3.906 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.2355, allocations: 171 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2355, allocations: 0 / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.2356, allocations: 4 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.2357, allocations: 33.69 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.2357, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.2357, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2357, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.2357, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.2358, allocations: 153.6 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.2359, allocations: 22.52 kB / 0.9022 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.2359, allocations: 8.859 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006868/0.2366, allocations: 465.5 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2366, allocations: 30.56 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2366, allocations: 0 / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001151/0.2368, allocations: 37.69 kB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.2368, allocations: 59.34 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.924e-05/0.2368, allocations: 89.86 kB / 0.9028 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.2369, allocations: 25.7 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.613e-05/0.2369, allocations: 80.14 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.2369, allocations: 0 / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.2369, allocations: 4 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.237, allocations: 310.8 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.237, allocations: 4.125 kB / 0.9032 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.237, allocations: 4 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.237, allocations: 0 / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2371, allocations: 3.953 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.599e-05/0.2371, allocations: 33.69 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2371, allocations: 11.94 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2371, allocations: 0 / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2372, allocations: 0 / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.2372, allocations: 4 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2372, allocations: 4.094 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.2372, allocations: 4 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2372, allocations: 7.875 kB / 0.9033 GB, free: 61.08 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 5.13e-05/0.2373, allocations: 111.8 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-06/0.2373, allocations: 3.953 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.2374, allocations: 36.81 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2374, allocations: 0 / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2374, allocations: 0 / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2374, allocations: 4.031 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.119e-05/0.2375, allocations: 149.7 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2375, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.2375, allocations: 3.953 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2375, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.2375, allocations: 4 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2375, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2375, allocations: 0 / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.636e-05/0.2376, allocations: 61.08 kB / 0.9037 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.2376, allocations: 81.09 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2376, allocations: 7.953 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.2376, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.2377, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.2377, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.52e-05/0.2377, allocations: 75.28 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2377, allocations: 0 / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002239/0.2379, allocations: 12 kB / 0.9038 GB, free: 60.44 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.0001897/0.2381, allocations: 127.3 kB / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.905e-05/0.2382, allocations: 0 / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2382, allocations: 0 / 0.904 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.2382, allocations: 7.938 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2383, allocations: 2.391 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/0.2385, allocations: 108.4 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.2386, allocations: 0.6731 MB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-06/0.2387, allocations: 7.438 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2387, allocations: 0 / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.001817/0.2405, allocations: 0.5542 MB / 0.9053 GB, free: 58.89 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)