Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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.525/1.525, allocations: 251.5 MB / 267.4 MB, free: 11.02 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.001164/0.001164, allocations: 171.8 kB / 326.5 MB, free: 2.656 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.079/2.079, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008794/0.0008795, allocations: 85.03 kB / 0.6803 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003275, allocations: 13.22 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2404, allocations: 105.4 MB / 0.8967 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0008043/0.2412, allocations: 323.3 kB / 0.8971 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.2418, allocations: 211.3 kB / 0.8973 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.2418, allocations: 4 kB / 0.8973 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.2418, allocations: 0 / 0.8973 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.2418, allocations: 0 / 0.8973 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2422, allocations: 43.89 kB / 0.8973 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.937e-05/0.2423, allocations: 0 / 0.8973 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.2423, allocations: 4.75 kB / 0.8973 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.2424, allocations: 0 / 0.8973 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.2424, allocations: 0 / 0.8973 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.326e-06/0.2424, allocations: 0 / 0.8973 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2426, allocations: 67.88 kB / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.2426, allocations: 7.984 kB / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.2427, allocations: 0 / 0.8974 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2428, allocations: 19.97 kB / 0.8974 GB, free: 67.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2428, allocations: 3.938 kB / 0.8974 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2428, allocations: 0 / 0.8974 GB, free: 67.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2428, allocations: 0 / 0.8974 GB, free: 67.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002666/0.2431, allocations: 319.6 kB / 0.8977 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2431, allocations: 15.97 kB / 0.8977 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.2432, allocations: 4.844 kB / 0.8977 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.971e-05/0.2432, allocations: 160.4 kB / 0.8979 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2432, allocations: 4.375 kB / 0.8979 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2433, allocations: 4.375 kB / 0.8979 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.664e-05/0.2434, allocations: 38.25 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2434, allocations: 192 / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2434, allocations: 3.938 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2434, allocations: 0 / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.2434, allocations: 3.938 kB / 0.8979 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.2436, allocations: 146 kB / 0.8981 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.2436, allocations: 18.58 kB / 0.8981 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.2436, allocations: 4.859 kB / 0.8981 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006946/0.2443, allocations: 461.5 kB / 0.8985 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2444, allocations: 34.56 kB / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.2444, allocations: 0 / 0.8986 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.2445, allocations: 45.56 kB / 0.8986 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.2445, allocations: 51.41 kB / 0.8987 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.2446, allocations: 93.86 kB / 0.8988 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.2446, allocations: 25.7 kB / 0.8988 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.2446, allocations: 80.14 kB / 0.8989 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2446, allocations: 3.938 kB / 0.8989 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.2447, allocations: 9.719 kB / 0.8989 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.2447, allocations: 319 kB / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.2448, allocations: 0 / 0.8992 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.935e-06/0.2448, allocations: 4 kB / 0.8992 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.2448, allocations: 16.78 kB / 0.8992 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2448, allocations: 0 / 0.8992 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.542e-05/0.2449, allocations: 33.7 kB / 0.8992 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2449, allocations: 4 kB / 0.8992 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2449, allocations: 0 / 0.8992 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.245, allocations: 11.97 kB / 0.8992 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.245, allocations: 4 kB / 0.8992 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.245, allocations: 3.984 kB / 0.8992 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.245, allocations: 0 / 0.8992 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.2451, allocations: 0 / 0.8992 GB, free: 65.23 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 (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.469e-05/0.2451, allocations: 105.8 kB / 0.8993 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.2451, allocations: 3.984 kB / 0.8993 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.327e-05/0.2452, allocations: 48.7 kB / 0.8994 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2453, allocations: 4.031 kB / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2453, allocations: 0 / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2453, allocations: 0 / 0.8994 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.759e-05/0.2454, allocations: 149.6 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2454, allocations: 0 / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.2454, allocations: 4 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2454, allocations: 0 / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2454, allocations: 3.938 kB / 0.8996 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2454, allocations: 0 / 0.8996 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2454, allocations: 0 / 0.8996 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.108e-05/0.2455, allocations: 69.11 kB / 0.8996 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2455, allocations: 77.11 kB / 0.8997 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2456, allocations: 7.875 kB / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-06/0.2456, allocations: 0 / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2456, allocations: 4 kB / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.2456, allocations: 0 / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.114e-05/0.2456, allocations: 75.28 kB / 0.8998 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2456, allocations: 0 / 0.8998 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002259/0.2459, allocations: 16.03 kB / 0.8998 GB, free: 64.57 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 (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.000221/0.2461, allocations: 123.2 kB / 0.8999 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.378e-05/0.2462, allocations: 4 kB / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2462, allocations: 0 / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-06/0.2462, allocations: 4.062 kB / 0.8999 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.2464, allocations: 8 kB / 0.8999 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.2466, allocations: 104.3 kB / 0.9 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2467, allocations: 0.6731 MB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.2467, allocations: 7.438 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2467, allocations: 0 / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.001934/0.2487, allocations: 0.5475 MB / 0.9012 GB, free: 63.04 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)