Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007756, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0045/0.0045, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005106, allocations: 22.95 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2309, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007177/0.2317, allocations: 327.4 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004877/0.2322, allocations: 199.5 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-06/0.2322, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.2322, allocations: 4 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.2322, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.2326, allocations: 43.84 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.041e-05/0.2326, allocations: 4 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.2327, allocations: 0 / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.408e-05/0.2327, allocations: 3.984 kB / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.98e-05/0.2327, allocations: 0 / 0.7884 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.2327, allocations: 4 kB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2329, allocations: 67.88 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.2329, allocations: 0 / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.233, allocations: 29.64 kB / 0.7885 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2331, allocations: 35.88 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2331, allocations: 4 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2331, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2331, allocations: 0 / 0.7886 GB, free: 10.87 MB / 0.6075 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.0002526/0.2334, allocations: 323.6 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2334, allocations: 8.031 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.2334, allocations: 4.938 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.2335, allocations: 160.4 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2336, allocations: 384 / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.2336, allocations: 4.375 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.2337, allocations: 26.27 kB / 0.7891 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2337, allocations: 8.109 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2337, allocations: 3.938 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2337, allocations: 0 / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.2337, allocations: 7.938 kB / 0.7891 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001366/0.2339, allocations: 153.7 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.2339, allocations: 14.58 kB / 0.7893 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.2339, allocations: 8.953 kB / 0.7893 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.2347, allocations: 453.5 kB / 0.7897 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2348, allocations: 42.56 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2348, allocations: 0 / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.2349, allocations: 37.58 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2349, allocations: 51.41 kB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.097e-05/0.235, allocations: 89.86 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.235, allocations: 25.7 kB / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.235, allocations: 80.14 kB / 0.79 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.2351, allocations: 12.02 kB / 0.79 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.2351, allocations: 9.719 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.2352, allocations: 318.8 kB / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.2352, allocations: 0 / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2352, allocations: 0 / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.005e-05/0.2353, allocations: 8.859 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2353, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.33e-05/0.2353, allocations: 33.64 kB / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2354, allocations: 8.094 kB / 0.7904 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2354, allocations: 4 kB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2354, allocations: 7.922 kB / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.2354, allocations: 0 / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2354, allocations: 0 / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.2354, allocations: 0 / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2355, allocations: 0 / 0.7904 GB, free: 8.688 MB / 0.6075 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.568e-05/0.2355, allocations: 117.8 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.2355, allocations: 0 / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.801e-05/0.2356, allocations: 52.69 kB / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2357, allocations: 0 / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2357, allocations: 0 / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2357, allocations: 0 / 0.7906 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.046e-05/0.2358, allocations: 149.6 kB / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2358, allocations: 0 / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.2358, allocations: 0 / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2358, allocations: 0 / 0.7907 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2358, allocations: 3.938 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2358, allocations: 3.984 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2358, allocations: 4 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/0.2359, allocations: 57.17 kB / 0.7908 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.2359, allocations: 77.39 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2359, allocations: 3.938 kB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-06/0.2359, allocations: 0 / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.236, allocations: 11.92 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.236, allocations: 0 / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.236, allocations: 79.31 kB / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.236, allocations: 0 / 0.7909 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001959/0.2362, allocations: 16 kB / 0.7909 GB, free: 8.016 MB / 0.6075 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.0001941/0.2364, allocations: 115.2 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.89e-05/0.2365, allocations: 4 kB / 0.7911 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2365, allocations: 4.062 kB / 0.7911 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.2365, allocations: 4 kB / 0.7911 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.2366, allocations: 6.75 kB / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.2368, allocations: 78 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.237, allocations: 0.6731 MB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.237, allocations: 7.969 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.237, allocations: 11.38 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.237, allocations: 3.938 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of Templates: time 0.002254/0.2393, allocations: 409.4 kB / 0.7922 GB, free: 6.656 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: