Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 197.1 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 68.12 kB / 0.671 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1632, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001621/0.1648, allocations: 0.6548 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003589/0.1652, allocations: 199.3 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-06/0.1652, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.1652, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-06/0.1653, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.1656, allocations: 55.83 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.486e-05/0.1656, allocations: 4 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.1656, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.095e-05/0.1657, allocations: 4 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.294e-05/0.1657, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.1657, allocations: 0 / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1658, allocations: 67.86 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.39e-06/0.1658, allocations: 0 / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.199e-05/0.1658, allocations: 0 / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.1659, allocations: 39.94 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1659, allocations: 0 / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1659, allocations: 0 / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.166, allocations: 4 kB / 0.7839 GB, free: 12.86 MB / 0.6075 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.0002178/0.1662, allocations: 318 kB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.1662, allocations: 12.03 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.1662, allocations: 0.9375 kB / 0.7842 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.033e-05/0.1663, allocations: 164.4 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1663, allocations: 384 / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.1663, allocations: 4.312 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.486e-05/0.1664, allocations: 26.27 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.1664, allocations: 8.125 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1664, allocations: 7.938 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.1664, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.439e-05/0.1665, allocations: 3.984 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.1666, allocations: 141.7 kB / 0.7845 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.1666, allocations: 22.61 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.1666, allocations: 8.797 kB / 0.7845 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/0.1672, allocations: 465.5 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1672, allocations: 34.56 kB / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1672, allocations: 0 / 0.785 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.756e-05/0.1673, allocations: 37.64 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1674, allocations: 55.39 kB / 0.7851 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.464e-05/0.1674, allocations: 93.98 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.1674, allocations: 25.7 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.1675, allocations: 80.14 kB / 0.7853 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.1675, allocations: 3.906 kB / 0.7853 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.1675, allocations: 13.72 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.1676, allocations: 314.8 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-06/0.1676, allocations: 3.938 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.1676, allocations: 4 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.724e-05/0.1676, allocations: 8.922 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1676, allocations: 0 / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.471e-05/0.1677, allocations: 37.69 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1677, allocations: 4 kB / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1677, allocations: 0 / 0.7857 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1677, allocations: 3.938 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.921e-05/0.1678, allocations: 4 kB / 0.7857 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1678, allocations: 7.984 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-06/0.1678, allocations: 0 / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.1678, allocations: 7.969 kB / 0.7857 GB, free: 10.66 MB / 0.6075 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 4.908e-05/0.1678, allocations: 106.5 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.1678, allocations: 4 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.1679, allocations: 40.75 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1679, allocations: 4 kB / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1679, allocations: 0 / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1679, allocations: 0 / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.352e-05/0.168, allocations: 145.6 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.168, allocations: 4.031 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.168, allocations: 7.984 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.168, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.168, allocations: 3.938 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.168, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.168, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.971e-05/0.1681, allocations: 61.08 kB / 0.786 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.1681, allocations: 77.39 kB / 0.7861 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.1681, allocations: 11.95 kB / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.1682, allocations: 0 / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.1682, allocations: 0 / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1682, allocations: 0 / 0.7861 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.1682, allocations: 79.22 kB / 0.7862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1682, allocations: 0 / 0.7862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000195/0.1684, allocations: 12 kB / 0.7862 GB, free: 10.01 MB / 0.6075 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.0001619/0.1686, allocations: 131.2 kB / 0.7863 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.952e-05/0.1686, allocations: 4 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.1686, allocations: 3.938 kB / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.129e-06/0.1686, allocations: 0 / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.1688, allocations: 11.03 kB / 0.7864 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000113/0.1689, allocations: 72.94 kB / 0.7864 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.169, allocations: 0.6769 MB / 0.7871 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.1691, allocations: 4 kB / 0.7871 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-06/0.1691, allocations: 11.44 kB / 0.7871 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1691, allocations: 0 / 0.7871 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.001718/0.1708, allocations: 405.6 kB / 0.7875 GB, free: 8.645 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)