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.001184/0.001184, allocations: 113.3 kB / 15.7 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 200.5 kB / 16.64 MB, free: 6.609 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.385/1.385, allocations: 222.9 MB / 240.3 MB, free: 4.348 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.051/1.051, allocations: 143 MB / 433.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4644, allocations: 82.03 MB / 0.6756 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002476/0.467, allocations: 1.424 MB / 0.677 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006272/0.4676, allocations: 259.5 kB / 0.6772 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.4677, allocations: 1.219 kB / 0.6772 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.4677, allocations: 0 / 0.6772 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.4678, allocations: 3.938 kB / 0.6772 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.4682, allocations: 59.61 kB / 0.6773 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.4683, allocations: 28.25 kB / 0.6773 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4684, allocations: 7.359 kB / 0.6773 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.4684, allocations: 10.38 kB / 0.6773 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.4685, allocations: 11.3 kB / 0.6773 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4685, allocations: 2.406 kB / 0.6773 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.4687, allocations: 59.92 kB / 0.6774 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.4687, allocations: 9.109 kB / 0.6774 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.4687, allocations: 14.39 kB / 0.6774 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.4689, allocations: 47.69 kB / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4689, allocations: 0 / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4689, allocations: 1.188 kB / 0.6775 GB, free: 12 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.4689, allocations: 0 / 0.6775 GB, free: 12 kB / 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.000557/0.4695, allocations: 355.1 kB / 0.6778 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4695, allocations: 9.625 kB / 0.6778 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.4696, allocations: 2.188 kB / 0.6778 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4697, allocations: 161.6 kB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4697, allocations: 1.594 kB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.4697, allocations: 1.656 kB / 0.678 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4699, allocations: 53.58 kB / 0.678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4699, allocations: 192 / 0.678 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.47, allocations: 7.938 kB / 0.678 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.47, allocations: 5.406 kB / 0.678 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4701, allocations: 33.77 kB / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4705, allocations: 249.7 kB / 0.6783 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.4707, allocations: 38.25 kB / 0.6783 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.4708, allocations: 35.36 kB / 0.6784 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.4716, allocations: 458.4 kB / 0.6788 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.4716, allocations: 31.94 kB / 0.6788 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4716, allocations: 4 kB / 0.6788 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.00038/0.472, allocations: 84.39 kB / 0.6789 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4721, allocations: 51.41 kB / 0.679 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4722, allocations: 99.34 kB / 0.6791 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.4722, allocations: 25.7 kB / 0.6791 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.4723, allocations: 85.33 kB / 0.6792 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4723, allocations: 17.02 kB / 0.6792 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4723, allocations: 12.25 kB / 0.6792 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4725, allocations: 315.8 kB / 0.6795 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.4725, allocations: 16.89 kB / 0.6795 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.4726, allocations: 17.98 kB / 0.6795 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.4728, allocations: 43.25 kB / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4728, allocations: 0 / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.473, allocations: 68.47 kB / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.473, allocations: 5.688 kB / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.473, allocations: 0 / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.473, allocations: 0 / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.4731, allocations: 6.562 kB / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4731, allocations: 0 / 0.6797 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.4732, allocations: 16.52 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4732, allocations: 0 / 0.6797 GB, free: 13.68 MB / 0.5137 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 8.226e-05/0.4733, allocations: 115.9 kB / 0.6798 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.4733, allocations: 1.062 kB / 0.6798 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.4735, allocations: 70.83 kB / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4735, allocations: 0 / 0.6798 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4736, allocations: 5.094 kB / 0.6799 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4736, allocations: 0 / 0.6799 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.4737, allocations: 158.2 kB / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4737, allocations: 0 / 0.68 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.4738, allocations: 10.92 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4738, allocations: 0 / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.4738, allocations: 0 / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4738, allocations: 0.9375 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4738, allocations: 3.938 kB / 0.68 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.4741, allocations: 175.5 kB / 0.6802 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.4741, allocations: 80.12 kB / 0.6803 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.4741, allocations: 0 / 0.6803 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.4742, allocations: 11.39 kB / 0.6803 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.4742, allocations: 6.719 kB / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.4743, allocations: 0 / 0.6803 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.4743, allocations: 86.86 kB / 0.6804 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4743, allocations: 0 / 0.6804 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002293/0.4745, allocations: 13.12 kB / 0.6804 GB, free: 12.95 MB / 0.5137 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.0002418/0.4748, allocations: 115.9 kB / 0.6805 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.475, allocations: 41.38 kB / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.475, allocations: 0 / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4751, allocations: 19.48 kB / 0.6805 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4753, allocations: 14.17 kB / 0.6806 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.4756, allocations: 98.59 kB / 0.6807 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4759, allocations: 0.6772 MB / 0.6813 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.476, allocations: 5.5 kB / 0.6813 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.476, allocations: 8.531 kB / 0.6813 GB, free: 12 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.476, allocations: 0 / 0.6813 GB, free: 12 MB / 0.5137 GB Notification: Performance of Templates: time 0.002816/0.4788, allocations: 0.672 MB / 0.682 GB, free: 11.65 MB / 0.5137 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)