Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.503/1.503, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00143/0.00143, allocations: 185.5 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008213/0.0008215, allocations: 90.97 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 17.77 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001712/0.2457, allocations: 1.161 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006737/0.2464, allocations: 260.8 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.2465, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.2466, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-05/0.2466, allocations: 3.938 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.247, allocations: 47.94 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.2471, allocations: 19.92 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.465e-05/0.2472, allocations: 8 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.2472, allocations: 11.94 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.2473, allocations: 7.984 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2473, allocations: 0 / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2475, allocations: 63.83 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2475, allocations: 15.91 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.2475, allocations: 7.938 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2476, allocations: 31.89 kB / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2477, allocations: 0 / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2477, allocations: 0 / 0.8983 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2477, allocations: 0 / 0.8983 GB, free: 66.51 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.000437/0.2481, allocations: 355.4 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2482, allocations: 8.031 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.2482, allocations: 4.922 kB / 0.8987 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.095e-05/0.2483, allocations: 168.3 kB / 0.8988 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2483, allocations: 384 / 0.8988 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2484, allocations: 384 / 0.8988 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2485, allocations: 58.23 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2486, allocations: 192 / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.2486, allocations: 7.938 kB / 0.8989 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2486, allocations: 4 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.2488, allocations: 43.97 kB / 0.8989 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.2491, allocations: 248.9 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2492, allocations: 42.5 kB / 0.8992 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.2493, allocations: 36.89 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005759/0.2499, allocations: 453.5 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.25, allocations: 30.56 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.25, allocations: 4 kB / 0.8997 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.2503, allocations: 97.58 kB / 0.8998 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2504, allocations: 55.53 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.2504, allocations: 105.8 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.2504, allocations: 25.7 kB / 0.9 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.2505, allocations: 80.14 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.2505, allocations: 7.844 kB / 0.9001 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.2505, allocations: 13.72 kB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.2506, allocations: 314.8 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.2507, allocations: 23.97 kB / 0.9004 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.2507, allocations: 23.98 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2509, allocations: 48.89 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2509, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.2511, allocations: 85.47 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2511, allocations: 4 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2511, allocations: 4.031 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2511, allocations: 4 kB / 0.9006 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.2512, allocations: 11.98 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2512, allocations: 0 / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.2513, allocations: 11.92 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2513, allocations: 4 kB / 0.9006 GB, free: 63.86 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 5.121e-05/0.2514, allocations: 117.8 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.2514, allocations: 3.906 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.2516, allocations: 84.72 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2516, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2516, allocations: 0 / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2516, allocations: 8.031 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2518, allocations: 161.6 kB / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2518, allocations: 0 / 0.901 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.2518, allocations: 8.188 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2519, allocations: 0 / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2519, allocations: 0 / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2519, allocations: 0 / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2519, allocations: 7.969 kB / 0.901 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.2521, allocations: 171.5 kB / 0.9011 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.2521, allocations: 81.09 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.2521, allocations: 0 / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.2522, allocations: 19.97 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2523, allocations: 3.984 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2523, allocations: 0 / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.348e-05/0.2523, allocations: 79.28 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2523, allocations: 0 / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000217/0.2525, allocations: 16 kB / 0.9013 GB, free: 63.01 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.0001872/0.2527, allocations: 119.2 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.2529, allocations: 43.97 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.253, allocations: 0 / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.2531, allocations: 28.03 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.2533, allocations: 7.938 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.2536, allocations: 141 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2538, allocations: 0.6809 MB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.053e-05/0.2538, allocations: 7.438 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.2538, allocations: 4.062 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.002114/0.2559, allocations: 0.7569 MB / 0.9031 GB, free: 61.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)