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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005649/0.005648, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.057/1.057, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.5953 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3984, allocations: 82.03 MB / 0.6755 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001435/0.3998, allocations: 0.5684 MB / 0.676 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.4003, allocations: 202.3 kB / 0.6762 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.108e-05/0.4003, allocations: 0 / 0.6762 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.4003, allocations: 3.938 kB / 0.6762 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-06/0.4003, allocations: 1.094 kB / 0.6762 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.4007, allocations: 57.72 kB / 0.6763 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.238e-05/0.4007, allocations: 1.125 kB / 0.6763 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.4008, allocations: 5.125 kB / 0.6763 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.255e-05/0.4008, allocations: 1.125 kB / 0.6763 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.722e-05/0.4008, allocations: 4 kB / 0.6763 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-06/0.4008, allocations: 0 / 0.6763 GB, free: 380 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.401, allocations: 63.12 kB / 0.6763 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.401, allocations: 3.984 kB / 0.6763 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.401, allocations: 1.531 kB / 0.6763 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.4011, allocations: 32.7 kB / 0.6764 GB, free: 320 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4011, allocations: 0 / 0.6764 GB, free: 320 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4011, allocations: 0 / 0.6764 GB, free: 320 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.4011, allocations: 0 / 0.6764 GB, free: 320 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002407/0.4014, allocations: 322.2 kB / 0.6767 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4014, allocations: 13.59 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.4015, allocations: 34.69 kB / 0.6767 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.4015, allocations: 2.031 kB / 0.6767 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.4016, allocations: 160.4 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4017, allocations: 384 / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.4017, allocations: 1.344 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.4017, allocations: 32.33 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4018, allocations: 7.922 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.4018, allocations: 4 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4018, allocations: 0.8438 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.602e-05/0.4018, allocations: 4.906 kB / 0.6769 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.402, allocations: 147.9 kB / 0.6771 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.402, allocations: 15.64 kB / 0.6771 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.402, allocations: 5.984 kB / 0.6771 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007704/0.4028, allocations: 462.6 kB / 0.6775 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4029, allocations: 35.72 kB / 0.6776 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.4029, allocations: 0 / 0.6776 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.403, allocations: 39.25 kB / 0.6776 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.403, allocations: 55.41 kB / 0.6777 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.375e-05/0.4031, allocations: 89.86 kB / 0.6777 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4031, allocations: 27.14 kB / 0.6778 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.4032, allocations: 84.14 kB / 0.6779 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.4032, allocations: 6.281 kB / 0.6779 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.4032, allocations: 11.81 kB / 0.6779 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4034, allocations: 312 kB / 0.6782 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.4034, allocations: 0.9688 kB / 0.6782 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.4034, allocations: 5 kB / 0.6782 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.4034, allocations: 15.23 kB / 0.6782 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4034, allocations: 4.062 kB / 0.6782 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.363e-05/0.4035, allocations: 35.44 kB / 0.6782 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4035, allocations: 4.469 kB / 0.6782 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4035, allocations: 5.094 kB / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4035, allocations: 0 / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.4036, allocations: 2.25 kB / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4036, allocations: 0 / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-06/0.4036, allocations: 0 / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.4036, allocations: 1.094 kB / 0.6782 GB, free: 14.18 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 (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 7.827e-05/0.4037, allocations: 115 kB / 0.6783 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-06/0.4037, allocations: 1.156 kB / 0.6783 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.28e-05/0.4038, allocations: 48.88 kB / 0.6784 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4038, allocations: 0 / 0.6784 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4038, allocations: 5.156 kB / 0.6784 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4038, allocations: 3.984 kB / 0.6784 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.404, allocations: 147 kB / 0.6785 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.404, allocations: 0 / 0.6785 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.404, allocations: 2.125 kB / 0.6785 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.404, allocations: 4.031 kB / 0.6785 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.404, allocations: 3.938 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.404, allocations: 1.125 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.404, allocations: 0 / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.4041, allocations: 58.92 kB / 0.6786 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.4042, allocations: 82.38 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4042, allocations: 3.938 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.4042, allocations: 1.031 kB / 0.6787 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.4043, allocations: 4.031 kB / 0.6787 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4043, allocations: 1.188 kB / 0.6787 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.4043, allocations: 75.28 kB / 0.6788 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4043, allocations: 0 / 0.6788 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000352/0.4047, allocations: 14.88 kB / 0.6788 GB, free: 13.55 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 (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.0004808/0.4052, allocations: 0.6141 MB / 0.6794 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.478e-05/0.4052, allocations: 7.031 kB / 0.6794 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4052, allocations: 0 / 0.6794 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-06/0.4053, allocations: 6.156 kB / 0.6794 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.4054, allocations: 2.312 kB / 0.6794 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.4057, allocations: 118.5 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.406, allocations: 0.674 MB / 0.6802 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.406, allocations: 5.297 kB / 0.6802 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.406, allocations: 8.562 kB / 0.6802 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.406, allocations: 0 / 0.6802 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.4278, allocations: 1.153 MB / 0.6813 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.484, allocations: 13.58 kB / 0.6813 GB, free: 11.41 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)