Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.025/2.025, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 196.5 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009225, allocations: 98.58 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 48.45 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2425, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.0023/0.2449, allocations: 1.492 MB / 1.22 GB, free: 115.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.2453, allocations: 260.1 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.2454, allocations: 4 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.2454, allocations: 3.984 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.2455, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.2458, allocations: 43.95 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.2458, allocations: 23.92 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.2459, allocations: 8 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.2459, allocations: 7.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.246, allocations: 11.98 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.246, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2461, allocations: 67.88 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.2461, allocations: 7.922 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2462, allocations: 7.984 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.2463, allocations: 55.81 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2463, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.72e-07/0.2463, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.247e-06/0.2463, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 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.0003409/0.2467, allocations: 349.6 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2467, allocations: 11.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2467, allocations: 0.9375 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.872e-05/0.2468, allocations: 172.4 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2468, allocations: 384 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.2468, allocations: 384 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.247, allocations: 54.23 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.247, allocations: 192 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.247, allocations: 3.938 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.247, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2472, allocations: 43.83 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.2474, allocations: 252.9 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.2475, allocations: 42.44 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.688e-05/0.2476, allocations: 24.91 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.2481, allocations: 461.5 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.2482, allocations: 34.5 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.2482, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0003008/0.2485, allocations: 81.64 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.2485, allocations: 51.41 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.637e-05/0.2486, allocations: 102 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.2486, allocations: 29.7 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.104e-05/0.2486, allocations: 88.08 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.2486, allocations: 3.906 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.2486, allocations: 13.72 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.2487, allocations: 318.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.2488, allocations: 11.98 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.2488, allocations: 23.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.249, allocations: 36.77 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.249, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001575/0.2491, allocations: 73.59 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2491, allocations: 5.25 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2492, allocations: 4.094 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2492, allocations: 4 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.906e-05/0.2492, allocations: 7.984 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2493, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.2493, allocations: 7.984 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.2493, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 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.129e-05/0.2494, allocations: 118.4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.2494, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.2496, allocations: 72.72 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2496, allocations: 4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2496, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2496, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.2497, allocations: 161.6 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2497, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.2498, allocations: 7.984 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2498, allocations: 7.938 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-06/0.2498, allocations: 4.031 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2498, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2498, allocations: 0 / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.2501, allocations: 0.7278 MB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.2501, allocations: 81.11 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.2502, allocations: 0 / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.2502, allocations: 4 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.2503, allocations: 7.922 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2503, allocations: 7.875 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.818e-05/0.2503, allocations: 83.28 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-07/0.2503, allocations: 0 / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003033/0.2506, allocations: 16 kB / 1.224 GB, free: 111.3 MB / 0.823 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.0001504/0.2508, allocations: 119.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.2509, allocations: 35.95 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.251, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.091e-05/0.251, allocations: 24.05 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2512, allocations: 0 / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.2515, allocations: 218.1 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.344e-05/0.2516, allocations: 0.6809 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.2516, allocations: 0 / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.2516, allocations: 7.438 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.2516, allocations: 4.062 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of Templates: time 0.002112/0.2537, allocations: 0.6104 MB / 1.225 GB, free: 109.5 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)