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.005698/0.005698, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001255/0.001256, allocations: 191.3 kB / 16.67 MB, free: 5.973 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.953/0.953, allocations: 143 MB / 433.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.91 kB / 0.5955 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4083, allocations: 82.03 MB / 0.6756 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.00214/0.4104, allocations: 1.42 MB / 0.677 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004389/0.4109, allocations: 259.6 kB / 0.6773 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.4109, allocations: 5.188 kB / 0.6773 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.411, allocations: 3.938 kB / 0.6773 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.411, allocations: 1.156 kB / 0.6773 GB, free: 148 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.4114, allocations: 58.94 kB / 0.6773 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.4114, allocations: 24.02 kB / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.4115, allocations: 3.344 kB / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.4115, allocations: 15.17 kB / 0.6774 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.4116, allocations: 7.031 kB / 0.6774 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.4116, allocations: 2.188 kB / 0.6774 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4117, allocations: 71.92 kB / 0.6775 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.4117, allocations: 5.25 kB / 0.6775 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.4118, allocations: 13.42 kB / 0.6775 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.4119, allocations: 52.14 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4119, allocations: 1.375 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4119, allocations: 0 / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4119, allocations: 0 / 0.6775 GB, free: 15.98 MB / 0.5137 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.000452/0.4124, allocations: 347.6 kB / 0.6779 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.4124, allocations: 14.66 kB / 0.6779 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.4125, allocations: 2.062 kB / 0.6779 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4126, allocations: 169.3 kB / 0.678 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4126, allocations: 5.562 kB / 0.678 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.4126, allocations: 1.75 kB / 0.678 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.4128, allocations: 53.14 kB / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4128, allocations: 192 / 0.6781 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4128, allocations: 3.938 kB / 0.6781 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4128, allocations: 1.406 kB / 0.6781 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.413, allocations: 34.19 kB / 0.6781 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.4133, allocations: 244.4 kB / 0.6784 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4135, allocations: 43.03 kB / 0.6784 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.4136, allocations: 23.56 kB / 0.6784 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.4143, allocations: 462 kB / 0.6789 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.4143, allocations: 31.59 kB / 0.6789 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4144, allocations: 0 / 0.6789 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003741/0.4147, allocations: 88.77 kB / 0.679 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.4148, allocations: 52.34 kB / 0.679 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.4149, allocations: 106.2 kB / 0.6791 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4149, allocations: 26.73 kB / 0.6792 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.415, allocations: 81.45 kB / 0.6792 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.415, allocations: 3.906 kB / 0.6792 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.415, allocations: 17.06 kB / 0.6793 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4152, allocations: 318.8 kB / 0.6796 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.233e-05/0.4152, allocations: 14.39 kB / 0.6796 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.4153, allocations: 16.8 kB / 0.6796 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4155, allocations: 39.94 kB / 0.6796 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4155, allocations: 64 / 0.6796 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001982/0.4157, allocations: 68.45 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4157, allocations: 4.531 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4157, allocations: 0.9688 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4158, allocations: 0 / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.4158, allocations: 15.11 kB / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4159, allocations: 0 / 0.6797 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.4159, allocations: 11.02 kB / 0.6797 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4159, allocations: 5.031 kB / 0.6797 GB, free: 13.66 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 7.282e-05/0.416, allocations: 116 kB / 0.6798 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.416, allocations: 1.219 kB / 0.6798 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.4163, allocations: 65.94 kB / 0.6799 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4163, allocations: 5.125 kB / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4163, allocations: 0 / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4163, allocations: 0 / 0.6799 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.4164, allocations: 170.1 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4165, allocations: 0.9375 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.4165, allocations: 9.766 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4165, allocations: 3.938 kB / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.4165, allocations: 1.156 kB / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4165, allocations: 0 / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4165, allocations: 5.25 kB / 0.6801 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.4168, allocations: 166.4 kB / 0.6802 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.4169, allocations: 80.25 kB / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4169, allocations: 0 / 0.6803 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.417, allocations: 12.2 kB / 0.6803 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.417, allocations: 5.016 kB / 0.6803 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.417, allocations: 1.125 kB / 0.6803 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.4171, allocations: 78.56 kB / 0.6804 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4171, allocations: 0 / 0.6804 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002294/0.4173, allocations: 17.81 kB / 0.6804 GB, free: 12.93 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.0001888/0.4175, allocations: 115.7 kB / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.4177, allocations: 44.52 kB / 0.6806 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4177, allocations: 5.125 kB / 0.6806 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.4178, allocations: 15.67 kB / 0.6806 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.4181, allocations: 6.812 kB / 0.6806 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.4184, allocations: 112 kB / 0.6807 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4189, allocations: 0.6761 MB / 0.6814 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.4189, allocations: 5.203 kB / 0.6814 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.4189, allocations: 12.66 kB / 0.6814 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4189, allocations: 0 / 0.6814 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.003271/0.4222, allocations: 0.6655 MB / 0.682 GB, free: 11.62 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)