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.549/1.549, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.001678/0.001678, allocations: 178.5 kB / 326.5 MB, free: 2.727 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.166/2.166, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008106/0.0008107, allocations: 95.12 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 14.42 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001648/0.2262, allocations: 1.168 MB / 0.8979 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005626/0.2268, allocations: 264.8 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2268, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.2269, allocations: 3.938 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.2269, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.2273, allocations: 51.88 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.2273, allocations: 15.94 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.2274, allocations: 15.98 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.2275, allocations: 7.938 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.2275, allocations: 11.98 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.2275, allocations: 0 / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.2277, allocations: 67.81 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2277, allocations: 7.984 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.2278, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2279, allocations: 39.88 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2279, allocations: 0 / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2279, allocations: 4 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2279, allocations: 0 / 0.8983 GB, free: 66.55 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.0003906/0.2283, allocations: 345.2 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2283, allocations: 8.031 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.2284, allocations: 8.938 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.92e-05/0.2285, allocations: 164.3 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2285, allocations: 384 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2285, allocations: 8.375 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2287, allocations: 58.17 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2287, allocations: 192 / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2287, allocations: 3.938 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2287, allocations: 0 / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.2289, allocations: 47.95 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.2292, allocations: 241 kB / 0.8992 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.2293, allocations: 50.48 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.2294, allocations: 32.84 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/0.23, allocations: 457.5 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.2301, allocations: 38.56 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.2301, allocations: 0 / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003357/0.2304, allocations: 93.73 kB / 0.8998 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2304, allocations: 55.41 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.2305, allocations: 97.86 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.2305, allocations: 25.7 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.2306, allocations: 80.14 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2306, allocations: 19.81 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.2306, allocations: 13.72 kB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.2307, allocations: 318.8 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.2307, allocations: 23.92 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.2308, allocations: 19.98 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.231, allocations: 52.88 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.231, allocations: 3.938 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.2311, allocations: 81.59 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2312, allocations: 8 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2312, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2312, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.2313, allocations: 8 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2313, allocations: 3.984 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.2313, allocations: 19.92 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2314, allocations: 4.031 kB / 0.9006 GB, free: 63.89 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.944e-05/0.2314, allocations: 109.8 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.2314, allocations: 4.094 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.2317, allocations: 88.75 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2317, allocations: 4.031 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2317, allocations: 4 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2317, allocations: 0 / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2318, allocations: 157.6 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2318, allocations: 0 / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.2319, allocations: 11.98 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2321, allocations: 183.4 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2321, allocations: 77.11 kB / 0.9012 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2321, allocations: 8.031 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.2322, allocations: 11.98 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2323, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2323, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.2323, allocations: 83.27 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2323, allocations: 0 / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002296/0.2325, allocations: 20 kB / 0.9014 GB, free: 63.04 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.0001897/0.2327, allocations: 119.2 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2329, allocations: 43.91 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2329, allocations: 4.062 kB / 0.9015 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.233, allocations: 23.98 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2332, allocations: 11.88 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.2335, allocations: 133.1 kB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2337, allocations: 0.681 MB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.2337, allocations: 7.438 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.2337, allocations: 0 / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.002196/0.2359, allocations: 0.7627 MB / 0.9031 GB, free: 61.2 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)