Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001242/0.001243, allocations: 105.7 kB / 16.37 MB, free: 6.465 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.001115/0.001115, allocations: 190 kB / 17.31 MB, free: 5.812 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.8857/0.8857, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4172, allocations: 82.03 MB / 0.5957 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001851/0.4191, allocations: 0.5655 MB / 0.5963 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004371/0.4195, allocations: 208.8 kB / 0.5965 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.446e-05/0.4196, allocations: 0 / 0.5965 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.4196, allocations: 0 / 0.5965 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.4196, allocations: 0 / 0.5965 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.42, allocations: 54.17 kB / 0.5965 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.4201, allocations: 4 kB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.4201, allocations: 3.984 kB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.4201, allocations: 0 / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.4202, allocations: 3.938 kB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-06/0.4202, allocations: 0 / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.4204, allocations: 59.89 kB / 0.5966 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.4204, allocations: 5.391 kB / 0.5966 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.4204, allocations: 0 / 0.5966 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.4205, allocations: 31.95 kB / 0.5966 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4205, allocations: 4 kB / 0.5966 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4205, allocations: 1.469 kB / 0.5966 GB, free: 15.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.4205, allocations: 0 / 0.5966 GB, free: 15.26 MB / 446.1 MB 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.0002465/0.4208, allocations: 320.9 kB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4208, allocations: 8.031 kB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.4209, allocations: 8.875 kB / 0.5969 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.532e-05/0.4209, allocations: 160.4 kB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.421, allocations: 1.594 kB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.421, allocations: 8.297 kB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.688e-05/0.4211, allocations: 31.12 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4211, allocations: 192 / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4211, allocations: 9.469 kB / 0.5971 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4211, allocations: 0 / 0.5971 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.4211, allocations: 0 / 0.5971 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.4212, allocations: 145.7 kB / 0.5973 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/0.4213, allocations: 23.86 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.4213, allocations: 10.11 kB / 0.5973 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.4219, allocations: 458.9 kB / 0.5978 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4219, allocations: 35.69 kB / 0.5978 GB, free: 13.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.4219, allocations: 0 / 0.5978 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.4221, allocations: 38.59 kB / 0.5978 GB, free: 13.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.4221, allocations: 52.78 kB / 0.5979 GB, free: 13.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.898e-05/0.4221, allocations: 89.86 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.4221, allocations: 25.7 kB / 0.598 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.119e-05/0.4222, allocations: 85.47 kB / 0.5981 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.4222, allocations: 3.906 kB / 0.5981 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.4222, allocations: 17.72 kB / 0.5981 GB, free: 13.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.017e-05/0.4223, allocations: 312.4 kB / 0.5984 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.4223, allocations: 3.938 kB / 0.5984 GB, free: 13.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.4223, allocations: 7.984 kB / 0.5984 GB, free: 13.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.4223, allocations: 6.141 kB / 0.5984 GB, free: 13.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4223, allocations: 0 / 0.5984 GB, free: 13.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.347e-05/0.4224, allocations: 35.08 kB / 0.5984 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4224, allocations: 5.562 kB / 0.5984 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4224, allocations: 0 / 0.5984 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4224, allocations: 5.344 kB / 0.5984 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.035e-05/0.4225, allocations: 11.94 kB / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4225, allocations: 0 / 0.5985 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.4225, allocations: 4 kB / 0.5985 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4225, allocations: 8.859 kB / 0.5985 GB, free: 13.07 MB / 446.1 MB 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.612e-05/0.4226, allocations: 111 kB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.4226, allocations: 3.938 kB / 0.5986 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.4227, allocations: 38.23 kB / 0.5986 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4227, allocations: 4 kB / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4227, allocations: 0 / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4227, allocations: 0 / 0.5986 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.352e-05/0.4227, allocations: 150.3 kB / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4227, allocations: 0 / 0.5988 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.4228, allocations: 4.938 kB / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4228, allocations: 0 / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4228, allocations: 5.031 kB / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4228, allocations: 0 / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4228, allocations: 0 / 0.5988 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.112e-05/0.4228, allocations: 59.41 kB / 0.5988 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.4229, allocations: 81.11 kB / 0.5989 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4229, allocations: 7.938 kB / 0.5989 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.4229, allocations: 0.5 kB / 0.5989 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.4229, allocations: 1.156 kB / 0.5989 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.4229, allocations: 0 / 0.5989 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.152e-05/0.4229, allocations: 75.28 kB / 0.599 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4229, allocations: 1.156 kB / 0.599 GB, free: 12.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.4231, allocations: 16 kB / 0.599 GB, free: 12.43 MB / 446.1 MB 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.0001746/0.4233, allocations: 117.7 kB / 0.5991 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.4234, allocations: 4 kB / 0.5991 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4234, allocations: 5.344 kB / 0.5991 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.4234, allocations: 0 / 0.5991 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4235, allocations: 7.984 kB / 0.5991 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.4237, allocations: 78.17 kB / 0.5992 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.4238, allocations: 0.67 MB / 0.5999 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.4238, allocations: 0 / 0.5999 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-06/0.4238, allocations: 7.438 kB / 0.5999 GB, free: 11.49 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4238, allocations: 4.688 kB / 0.5999 GB, free: 11.48 MB / 446.1 MB Notification: Performance of Templates: time 0.002196/0.426, allocations: 426.6 kB / 0.6003 GB, free: 11.1 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)