Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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-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.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.005581/0.005581, allocations: 96.7 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.00136/0.00136, allocations: 194.3 kB / 16.67 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.072/1.072, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.91 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4444, allocations: 82.02 MB / 0.6754 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002231/0.4466, allocations: 1.416 MB / 0.6768 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005096/0.4472, allocations: 248.1 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.4472, allocations: 5.281 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.4473, allocations: 7.938 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.089e-05/0.4473, allocations: 5.125 kB / 0.6771 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.4476, allocations: 49.89 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.251e-05/0.4477, allocations: 27.97 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.4478, allocations: 3.25 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.4478, allocations: 15.36 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.4479, allocations: 7.531 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.4479, allocations: 1.156 kB / 0.6772 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.448, allocations: 59.03 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.448, allocations: 9.156 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.4481, allocations: 14.02 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4482, allocations: 51.44 kB / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4482, allocations: 1.281 kB / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4482, allocations: 0 / 0.6773 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4483, allocations: 0 / 0.6773 GB, free: 15.52 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.0004545/0.4487, allocations: 345.3 kB / 0.6776 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.4488, allocations: 8.719 kB / 0.6776 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.4488, allocations: 31.84 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.4488, allocations: 6.031 kB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.449, allocations: 173.3 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.449, allocations: 1.656 kB / 0.6778 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.449, allocations: 5.672 kB / 0.6778 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.4492, allocations: 49.11 kB / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4492, allocations: 5.062 kB / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.4492, allocations: 0 / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4492, allocations: 1.031 kB / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4494, allocations: 37.8 kB / 0.6779 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.4497, allocations: 252.9 kB / 0.6782 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4498, allocations: 46.88 kB / 0.6782 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.4499, allocations: 23.06 kB / 0.6782 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.4506, allocations: 455.3 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4506, allocations: 31.78 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4506, allocations: 0 / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.451, allocations: 88.36 kB / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.451, allocations: 52.69 kB / 0.6788 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.4511, allocations: 98.05 kB / 0.6789 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4511, allocations: 26.92 kB / 0.6789 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.4512, allocations: 81.48 kB / 0.679 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4512, allocations: 7.938 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.4512, allocations: 16.78 kB / 0.679 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4514, allocations: 316 kB / 0.6793 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.4515, allocations: 20.8 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.4516, allocations: 17.59 kB / 0.6794 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4517, allocations: 38.95 kB / 0.6794 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4517, allocations: 4.938 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.4519, allocations: 71.88 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4519, allocations: 5.562 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.452, allocations: 0 / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.452, allocations: 1.25 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.4521, allocations: 9.047 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4521, allocations: 1.25 kB / 0.6795 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.4521, allocations: 6.734 kB / 0.6795 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4521, allocations: 5.406 kB / 0.6795 GB, free: 13.15 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.335e-05/0.4522, allocations: 116.3 kB / 0.6796 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.4522, allocations: 0 / 0.6796 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.4525, allocations: 78.86 kB / 0.6797 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4525, allocations: 0 / 0.6797 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4525, allocations: 1.094 kB / 0.6797 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.4525, allocations: 0 / 0.6797 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.4527, allocations: 158.7 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4527, allocations: 4.031 kB / 0.6799 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.4527, allocations: 9.422 kB / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4528, allocations: 1.062 kB / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4528, allocations: 0 / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4528, allocations: 5.094 kB / 0.6799 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4528, allocations: 3.984 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.453, allocations: 163.2 kB / 0.68 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.4531, allocations: 82.33 kB / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.4531, allocations: 0 / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.4532, allocations: 8.484 kB / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.4532, allocations: 1.312 kB / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4532, allocations: 0 / 0.6801 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.4533, allocations: 90.81 kB / 0.6802 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4533, allocations: 0 / 0.6802 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002286/0.4535, allocations: 17.53 kB / 0.6802 GB, free: 12.41 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.0006072/0.4541, allocations: 0.7181 MB / 0.6809 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4544, allocations: 37.53 kB / 0.681 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4544, allocations: 0 / 0.681 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.4545, allocations: 19.05 kB / 0.681 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4547, allocations: 10.3 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.4551, allocations: 150.5 kB / 0.6811 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4554, allocations: 0.6771 MB / 0.6818 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.4554, allocations: 1.156 kB / 0.6818 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.4554, allocations: 8.406 kB / 0.6818 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4554, allocations: 0 / 0.6818 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4766, allocations: 1.517 MB / 0.6833 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.969/8.445, allocations: 15.48 kB / 0.6833 GB, free: 9.957 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)