Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.452/2.452, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001394/0.001394, allocations: 176.6 kB / 326.2 MB, free: 2.844 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.492/2.492, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009114/0.0009112, allocations: 96.08 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006432/0.0006434, allocations: 15.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2046, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001729/0.2064, allocations: 1.149 MB / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000553/0.207, allocations: 240.3 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.207, allocations: 0 / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.207, allocations: 0 / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.369e-05/0.2071, allocations: 3.938 kB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.2075, allocations: 47.94 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.2075, allocations: 19.94 kB / 0.9009 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/0.2076, allocations: 11.98 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.2077, allocations: 7.938 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.2077, allocations: 3.984 kB / 0.9009 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.2077, allocations: 4 kB / 0.9009 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2079, allocations: 59.89 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.647e-06/0.2079, allocations: 7.922 kB / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.208, allocations: 33.64 kB / 0.901 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2081, allocations: 31.94 kB / 0.9011 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2081, allocations: 4 kB / 0.9011 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2081, allocations: 0 / 0.9011 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2081, allocations: 4 kB / 0.9011 GB, free: 63.86 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.0004143/0.2085, allocations: 339.4 kB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2086, allocations: 12.03 kB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.2086, allocations: 0.9375 kB / 0.9014 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.2087, allocations: 168.7 kB / 0.9016 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2088, allocations: 4.375 kB / 0.9016 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2088, allocations: 8.375 kB / 0.9016 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.209, allocations: 46.25 kB / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2091, allocations: 192 / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2091, allocations: 11.92 kB / 0.9016 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.2091, allocations: 3.984 kB / 0.9017 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.2094, allocations: 47.91 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.2097, allocations: 252.8 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.2099, allocations: 46.5 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2101, allocations: 24.91 kB / 0.902 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008392/0.2109, allocations: 465.5 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.211, allocations: 30.56 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.906e-06/0.211, allocations: 3.938 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005404/0.2115, allocations: 101.6 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.2116, allocations: 51.41 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.2116, allocations: 101.8 kB / 0.9027 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.2117, allocations: 29.7 kB / 0.9028 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.2117, allocations: 80.14 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2117, allocations: 3.906 kB / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2117, allocations: 0 / 0.9028 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.2118, allocations: 323 kB / 0.9031 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.212, allocations: 15.98 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2121, allocations: 23.97 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2123, allocations: 24.05 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2123, allocations: 3.938 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003167/0.2126, allocations: 81.53 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2126, allocations: 12.03 kB / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2126, allocations: 0 / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2127, allocations: 0 / 0.9033 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2128, allocations: 11.98 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2128, allocations: 0 / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.2129, allocations: 8 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2129, allocations: 0 / 0.9033 GB, free: 61.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/0.213, allocations: 114.9 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.213, allocations: 7.938 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.2134, allocations: 84.61 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2135, allocations: 4 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2135, allocations: 0 / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.2135, allocations: 85.14 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.2135, allocations: 0 / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2137, allocations: 11.98 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.2137, allocations: 0 / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003792/0.2141, allocations: 164.9 kB / 0.9038 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003528/0.2145, allocations: 250.8 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000152/0.2146, allocations: 27.97 kB / 0.904 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.2147, allocations: 79.28 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of Backend: time 7.92e-07/0.2147, allocations: 0 / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.2153, allocations: 122.4 kB / 0.9042 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003758/0.2157, allocations: 0.5585 MB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.003519/0.2193, allocations: 0.6739 MB / 0.9054 GB, free: 59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)