Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.49/1.49, allocations: 252 MB / 268 MB, free: 10.84 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.001402/0.001402, allocations: 170.9 kB / 327.6 MB, free: 2.098 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.921/1.921, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.000871/0.000871, allocations: 89.42 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003389, allocations: 15.05 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 106.3 MB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001623/0.2328, allocations: 1.164 MB / 0.9026 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.2334, allocations: 248.2 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.2334, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.2335, allocations: 3.938 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.2335, allocations: 8 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.2338, allocations: 47.89 kB / 0.9029 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.2339, allocations: 27.86 kB / 0.9029 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.234, allocations: 4 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.352e-05/0.2341, allocations: 7.984 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.2341, allocations: 11.92 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.2341, allocations: 4 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.2343, allocations: 63.88 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.2343, allocations: 0 / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2343, allocations: 41.64 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2344, allocations: 35.92 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2344, allocations: 0 / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2344, allocations: 0 / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2344, allocations: 0 / 0.9031 GB, free: 61.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004204/0.2349, allocations: 347.5 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2349, allocations: 8.031 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.235, allocations: 4.938 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.466e-05/0.2351, allocations: 176.5 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2351, allocations: 384 / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.2351, allocations: 384 / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2353, allocations: 58.17 kB / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2353, allocations: 192 / 0.9036 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2353, allocations: 7.938 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2353, allocations: 0 / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.2355, allocations: 47.95 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2358, allocations: 248.9 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2359, allocations: 50.48 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.236, allocations: 28.84 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.2366, allocations: 461.5 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2366, allocations: 34.56 kB / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2366, allocations: 0 / 0.9045 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003436/0.237, allocations: 97.64 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.237, allocations: 51.41 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.806e-05/0.2371, allocations: 97.8 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.2371, allocations: 29.7 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.2371, allocations: 88.25 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.2371, allocations: 7.906 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2371, allocations: 3.938 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.2372, allocations: 310.8 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.816e-05/0.2373, allocations: 23.98 kB / 0.9052 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.2374, allocations: 19.98 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2375, allocations: 52.81 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2375, allocations: 0 / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/0.2377, allocations: 85.66 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2377, allocations: 6.656 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.2377, allocations: 0 / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2378, allocations: 0 / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.2378, allocations: 8 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2379, allocations: 7.938 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.2379, allocations: 12.02 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.2379, allocations: 0 / 0.9053 GB, free: 59.02 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 (2): * Single equations (assignments): 2 * 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 4.789e-05/0.238, allocations: 113.8 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.238, allocations: 7.906 kB / 0.9055 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.2382, allocations: 88.77 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2382, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2382, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2382, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2384, allocations: 157.6 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2384, allocations: 0 / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.2384, allocations: 11.98 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2384, allocations: 8.031 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2384, allocations: 0 / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2384, allocations: 0 / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2385, allocations: 3.938 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.2387, allocations: 175.5 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.2387, allocations: 81.3 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2387, allocations: 0 / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.2388, allocations: 11.92 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.2388, allocations: 7.984 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2388, allocations: 3.938 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.2389, allocations: 87.27 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2389, allocations: 4.031 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002056/0.2391, allocations: 12 kB / 0.9061 GB, free: 58.16 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 (2): * Single equations (assignments): 2 * 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.0001749/0.2393, allocations: 119.2 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2395, allocations: 51.91 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2395, allocations: 0 / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.2396, allocations: 23.98 kB / 0.9063 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.2398, allocations: 8.922 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.24, allocations: 138.6 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.2401, allocations: 0.677 MB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.2402, allocations: 11.44 kB / 0.9071 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.2402, allocations: 0 / 0.9071 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.001945/0.2421, allocations: 0.7709 MB / 0.9078 GB, free: 56.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)