Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009154, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006193/0.006193, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.336 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 1.029/1.029, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004932, allocations: 12 kB / 0.5164 GB, free: 11.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1979, allocations: 83.4 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001721/0.1997, allocations: 1.151 MB / 0.599 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005959/0.2003, allocations: 264.1 kB / 0.5992 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.2003, allocations: 0 / 0.5992 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.2003, allocations: 0 / 0.5992 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.2004, allocations: 3.938 kB / 0.5992 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.2007, allocations: 47.88 kB / 0.5993 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.2008, allocations: 23.98 kB / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.69e-05/0.2009, allocations: 0 / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.2009, allocations: 11.94 kB / 0.5993 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.201, allocations: 15.92 kB / 0.5993 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.201, allocations: 0 / 0.5993 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.2011, allocations: 71.86 kB / 0.5994 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2012, allocations: 3.938 kB / 0.5994 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2012, allocations: 29.7 kB / 0.5994 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2013, allocations: 59.84 kB / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2013, allocations: 0 / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2014, allocations: 0 / 0.5995 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2014, allocations: 0 / 0.5995 GB, free: 5.953 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.000442/0.2018, allocations: 351.7 kB / 0.5998 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2019, allocations: 8.031 kB / 0.5998 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.2019, allocations: 8.938 kB / 0.5998 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.202, allocations: 164.4 kB / 0.6 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.202, allocations: 384 / 0.6 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.202, allocations: 8.344 kB / 0.6 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2022, allocations: 58.19 kB / 0.6 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.2022, allocations: 192 / 0.6 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2022, allocations: 7.875 kB / 0.6 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2023, allocations: 0 / 0.6 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2024, allocations: 47.95 kB / 0.6001 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.2027, allocations: 244.9 kB / 0.6003 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2029, allocations: 50.47 kB / 0.6004 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.203, allocations: 32.91 kB / 0.6004 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.2036, allocations: 457.4 kB / 0.6008 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2036, allocations: 30.56 kB / 0.6009 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2036, allocations: 4 kB / 0.6009 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.204, allocations: 101.5 kB / 0.601 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.204, allocations: 55.53 kB / 0.601 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.2041, allocations: 101.8 kB / 0.6011 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2041, allocations: 25.7 kB / 0.6011 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.2042, allocations: 84.14 kB / 0.6012 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.2042, allocations: 7.844 kB / 0.6012 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.2042, allocations: 13.72 kB / 0.6013 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.2043, allocations: 310.8 kB / 0.6015 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-05/0.2044, allocations: 27.97 kB / 0.6016 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.2045, allocations: 19.98 kB / 0.6016 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2047, allocations: 48.89 kB / 0.6016 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2047, allocations: 4 kB / 0.6016 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.2049, allocations: 77.59 kB / 0.6017 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2049, allocations: 4 kB / 0.6017 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2049, allocations: 4.031 kB / 0.6017 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2049, allocations: 0 / 0.6017 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.205, allocations: 15.92 kB / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.205, allocations: 0 / 0.6017 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.2051, allocations: 8 kB / 0.6017 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.2051, allocations: 0 / 0.6017 GB, free: 3.301 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.897e-05/0.2052, allocations: 121.8 kB / 0.6019 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.2052, allocations: 4 kB / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2054, allocations: 80.78 kB / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2054, allocations: 0 / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2054, allocations: 0 / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2054, allocations: 0 / 0.6019 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2056, allocations: 161.6 kB / 0.6021 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2056, allocations: 3.984 kB / 0.6021 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.2057, allocations: 8 kB / 0.6021 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2057, allocations: 4 kB / 0.6021 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2057, allocations: 0 / 0.6021 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2057, allocations: 3.938 kB / 0.6021 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2057, allocations: 0 / 0.6021 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.2059, allocations: 183.2 kB / 0.6023 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.206, allocations: 85.03 kB / 0.6024 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.206, allocations: 4 kB / 0.6024 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.2061, allocations: 12.03 kB / 0.6024 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2061, allocations: 7.984 kB / 0.6024 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2061, allocations: 4 kB / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.2062, allocations: 83.45 kB / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2062, allocations: 0 / 0.6025 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002344/0.2064, allocations: 12 kB / 0.6025 GB, free: 2.441 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.0002082/0.2066, allocations: 119.2 kB / 0.6026 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.2068, allocations: 51.91 kB / 0.6027 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2069, allocations: 0 / 0.6027 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.2069, allocations: 28.03 kB / 0.6027 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2072, allocations: 3.938 kB / 0.6027 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.2074, allocations: 108.7 kB / 0.6028 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2076, allocations: 0.677 MB / 0.6034 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.2077, allocations: 0 / 0.6034 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.2077, allocations: 19.5 kB / 0.6035 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2077, allocations: 0 / 0.6035 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of Templates: time 0.003597/0.2113, allocations: 0.5832 MB / 0.604 GB, free: 0.7969 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)