Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004956/0.004956, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001117/0.001117, allocations: 195.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.94/0.94, allocations: 143 MB / 433.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001149, allocations: 59.91 kB / 0.5141 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 82.04 MB / 0.5943 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002528/0.1526, allocations: 1.496 MB / 0.5957 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005048/0.1531, allocations: 248.1 kB / 0.596 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1531, allocations: 0 / 0.596 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.1532, allocations: 4 kB / 0.596 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.1532, allocations: 7.922 kB / 0.596 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1535, allocations: 47.89 kB / 0.596 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.1536, allocations: 19.98 kB / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.1537, allocations: 0 / 0.596 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.1537, allocations: 15.92 kB / 0.596 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.1538, allocations: 8 kB / 0.5961 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1538, allocations: 7.922 kB / 0.5961 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.154, allocations: 71.81 kB / 0.5961 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.154, allocations: 4 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.154, allocations: 11.92 kB / 0.5961 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1541, allocations: 31.94 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1541, allocations: 0 / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.31e-07/0.1541, allocations: 4 kB / 0.5962 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1541, allocations: 0 / 0.5962 GB, free: 8.062 MB / 0.4981 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.0004231/0.1546, allocations: 343.7 kB / 0.5965 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1546, allocations: 8.031 kB / 0.5965 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1546, allocations: 8.938 kB / 0.5965 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1548, allocations: 172.4 kB / 0.5967 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.1548, allocations: 384 / 0.5967 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1548, allocations: 384 / 0.5967 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.155, allocations: 46.25 kB / 0.5967 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.155, allocations: 192 / 0.5967 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.155, allocations: 7.922 kB / 0.5967 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.155, allocations: 0 / 0.5967 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.1552, allocations: 39.91 kB / 0.5968 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1555, allocations: 245 kB / 0.597 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1556, allocations: 38.5 kB / 0.5971 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.1557, allocations: 24.91 kB / 0.5971 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.1564, allocations: 457.4 kB / 0.5975 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1564, allocations: 34.5 kB / 0.5975 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.1564, allocations: 0 / 0.5975 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003343/0.1567, allocations: 89.58 kB / 0.5976 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1568, allocations: 51.41 kB / 0.5977 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1569, allocations: 101.9 kB / 0.5978 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.1569, allocations: 25.7 kB / 0.5978 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.157, allocations: 84.12 kB / 0.5979 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.157, allocations: 3.906 kB / 0.5979 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.157, allocations: 17.72 kB / 0.5979 GB, free: 6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1571, allocations: 315 kB / 0.5982 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1572, allocations: 11.98 kB / 0.5982 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.703e-05/0.1573, allocations: 23.97 kB / 0.5982 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1575, allocations: 40.7 kB / 0.5983 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1575, allocations: 0 / 0.5983 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.1577, allocations: 73.66 kB / 0.5983 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1577, allocations: 6.344 kB / 0.5984 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1577, allocations: 0 / 0.5984 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1577, allocations: 4 kB / 0.5984 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.1578, allocations: 7.984 kB / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1578, allocations: 0 / 0.5984 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.1579, allocations: 4 kB / 0.5984 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1579, allocations: 4 kB / 0.5984 GB, free: 5.504 MB / 0.4981 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 6.89e-05/0.158, allocations: 117.8 kB / 0.5985 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.158, allocations: 3.984 kB / 0.5985 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1582, allocations: 76.72 kB / 0.5986 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1582, allocations: 0 / 0.5986 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1582, allocations: 0 / 0.5986 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1582, allocations: 0 / 0.5986 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1584, allocations: 157.6 kB / 0.5987 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1584, allocations: 4.031 kB / 0.5987 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1584, allocations: 11.98 kB / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1585, allocations: 192 / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1585, allocations: 0 / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1585, allocations: 0 / 0.5987 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1585, allocations: 4 kB / 0.5987 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.1587, allocations: 175.3 kB / 0.5989 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1587, allocations: 81.05 kB / 0.599 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1588, allocations: 7.984 kB / 0.599 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.1588, allocations: 4 kB / 0.599 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1589, allocations: 4 kB / 0.599 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1589, allocations: 3.984 kB / 0.599 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.1589, allocations: 79.28 kB / 0.5991 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1589, allocations: 3.938 kB / 0.5991 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.1592, allocations: 16 kB / 0.5991 GB, free: 4.672 MB / 0.4981 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.0002028/0.1594, allocations: 119.3 kB / 0.5992 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1596, allocations: 31.97 kB / 0.5992 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1597, allocations: 4 kB / 0.5992 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.1597, allocations: 27.91 kB / 0.5993 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.16, allocations: 7.938 kB / 0.5993 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.1602, allocations: 133 kB / 0.5994 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1605, allocations: 0.6731 MB / 0.6001 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.1605, allocations: 7.438 kB / 0.6001 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1606, allocations: 0 / 0.6001 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.00206/0.1626, allocations: 0.7573 MB / 0.6008 GB, free: 2.848 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)