Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",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.007745/0.007745, allocations: 95.42 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.001732/0.001732, allocations: 201.4 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.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.067/1.067, allocations: 143 MB / 433.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4247, allocations: 82.04 MB / 0.6752 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001671/0.4264, allocations: 0.5639 MB / 0.6758 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.4269, allocations: 196.5 kB / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.337e-05/0.4269, allocations: 3.938 kB / 0.676 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.4269, allocations: 0 / 0.676 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-06/0.4269, allocations: 0 / 0.676 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.4273, allocations: 49.66 kB / 0.676 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.817e-05/0.4274, allocations: 5.125 kB / 0.676 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.4274, allocations: 5.047 kB / 0.676 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.4274, allocations: 3.984 kB / 0.676 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.4275, allocations: 1.125 kB / 0.676 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.4275, allocations: 4 kB / 0.676 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.4276, allocations: 49.8 kB / 0.6761 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.4276, allocations: 0 / 0.6761 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.4277, allocations: 5.375 kB / 0.6761 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4278, allocations: 35.97 kB / 0.6761 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4278, allocations: 0 / 0.6761 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4278, allocations: 0 / 0.6761 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4278, allocations: 0.9375 kB / 0.6761 GB, free: 0.5195 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002467/0.4281, allocations: 323 kB / 0.6764 GB, free: 168 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4281, allocations: 9.844 kB / 0.6764 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.474e-05/0.4281, allocations: 38.75 kB / 0.6765 GB, free: 120 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.4282, allocations: 6.031 kB / 0.6765 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.745e-05/0.4283, allocations: 168.4 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4283, allocations: 1.531 kB / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.4283, allocations: 384 / 0.6766 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.4284, allocations: 28.33 kB / 0.6767 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4284, allocations: 3.938 kB / 0.6767 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.4284, allocations: 1.094 kB / 0.6767 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4284, allocations: 3.984 kB / 0.6767 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.4284, allocations: 5.25 kB / 0.6767 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.4286, allocations: 150.9 kB / 0.6768 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.4286, allocations: 16.8 kB / 0.6768 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.4286, allocations: 5.859 kB / 0.6768 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007203/0.4294, allocations: 455.4 kB / 0.6773 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4294, allocations: 35.69 kB / 0.6773 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4294, allocations: 0 / 0.6773 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000144/0.4296, allocations: 38.95 kB / 0.6773 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.4296, allocations: 51.41 kB / 0.6774 GB, free: 15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.505e-05/0.4296, allocations: 89.86 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4297, allocations: 27.67 kB / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.4297, allocations: 80.27 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.4297, allocations: 11.89 kB / 0.6776 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4298, allocations: 15.42 kB / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4299, allocations: 316.8 kB / 0.6779 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-06/0.4299, allocations: 0 / 0.6779 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.4299, allocations: 1.875 kB / 0.6779 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.4299, allocations: 6.578 kB / 0.6779 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4299, allocations: 0 / 0.6779 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.073e-05/0.43, allocations: 38.95 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.43, allocations: 4.844 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.43, allocations: 9.484 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.43, allocations: 0 / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.4301, allocations: 1.031 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4301, allocations: 1.188 kB / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-06/0.4301, allocations: 0 / 0.678 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4301, allocations: 1.188 kB / 0.678 GB, free: 14.39 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 6.395e-05/0.4302, allocations: 110.9 kB / 0.6781 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.4302, allocations: 7.969 kB / 0.6781 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.4303, allocations: 44.97 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4303, allocations: 1.062 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4303, allocations: 0 / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4303, allocations: 1.125 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.4304, allocations: 145.7 kB / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4304, allocations: 1.438 kB / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.4304, allocations: 0.9688 kB / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4304, allocations: 1.062 kB / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4304, allocations: 3.938 kB / 0.6783 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4305, allocations: 8.016 kB / 0.6783 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4305, allocations: 1.062 kB / 0.6783 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.027e-05/0.4305, allocations: 57.72 kB / 0.6783 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4306, allocations: 77.11 kB / 0.6784 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4306, allocations: 5.406 kB / 0.6784 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-06/0.4306, allocations: 0 / 0.6784 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.4306, allocations: 3.984 kB / 0.6784 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.4306, allocations: 9.094 kB / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.4307, allocations: 75.28 kB / 0.6785 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4307, allocations: 0 / 0.6785 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002002/0.4309, allocations: 19.97 kB / 0.6785 GB, free: 13.76 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.0005043/0.4314, allocations: 0.6123 MB / 0.6791 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.629e-05/0.4315, allocations: 3 kB / 0.6791 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4315, allocations: 1.031 kB / 0.6791 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.836e-06/0.4315, allocations: 9.781 kB / 0.6791 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.4316, allocations: 6.922 kB / 0.6791 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.4319, allocations: 122.8 kB / 0.6793 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4322, allocations: 0.6704 MB / 0.6799 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.197e-05/0.4322, allocations: 3.984 kB / 0.6799 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.4322, allocations: 12.83 kB / 0.6799 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4322, allocations: 0 / 0.6799 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.4488, allocations: 1.143 MB / 0.681 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.098, allocations: 7.156 kB / 0.681 GB, free: 11.62 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0_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_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)