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.005061/0.005061, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001284/0.001284, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.028/1.028, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001902, allocations: 67.89 kB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3782, allocations: 82.03 MB / 0.6754 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00214/0.3804, allocations: 1.428 MB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.3809, allocations: 245.5 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.381, allocations: 0 / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.381, allocations: 1.281 kB / 0.677 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.3811, allocations: 7.875 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3814, allocations: 66 kB / 0.6771 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.3815, allocations: 24.89 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.3815, allocations: 3.25 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.3816, allocations: 10.41 kB / 0.6771 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.3816, allocations: 7.891 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.3816, allocations: 1.188 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.3818, allocations: 63.38 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3818, allocations: 13.02 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3818, allocations: 2.094 kB / 0.6772 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.382, allocations: 56.58 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.382, allocations: 4 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.382, allocations: 1.406 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.382, allocations: 0 / 0.6773 GB, free: 15.47 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.0004752/0.3825, allocations: 346.7 kB / 0.6776 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3826, allocations: 10.34 kB / 0.6776 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.3826, allocations: 30.75 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.3826, allocations: 2.469 kB / 0.6777 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3828, allocations: 165.9 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3828, allocations: 5.719 kB / 0.6778 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3828, allocations: 1.5 kB / 0.6778 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.383, allocations: 53.14 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.383, allocations: 3.938 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.383, allocations: 1.156 kB / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.383, allocations: 0 / 0.6779 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3832, allocations: 34.36 kB / 0.6779 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.3836, allocations: 256.5 kB / 0.6782 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3837, allocations: 43.42 kB / 0.6782 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.3838, allocations: 22.44 kB / 0.6782 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007569/0.3846, allocations: 455.8 kB / 0.6787 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3846, allocations: 31.59 kB / 0.6787 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3846, allocations: 0 / 0.6787 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.00039/0.385, allocations: 80.45 kB / 0.6788 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3851, allocations: 56.97 kB / 0.6788 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.3852, allocations: 98.25 kB / 0.6789 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3852, allocations: 26.98 kB / 0.6789 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.3853, allocations: 85.23 kB / 0.679 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3853, allocations: 3.953 kB / 0.679 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3853, allocations: 12.09 kB / 0.679 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3855, allocations: 323.7 kB / 0.6793 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.3856, allocations: 17.95 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.3857, allocations: 17.02 kB / 0.6794 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3859, allocations: 43.91 kB / 0.6794 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3859, allocations: 3.938 kB / 0.6794 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.3861, allocations: 59.92 kB / 0.6795 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3861, allocations: 9.156 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3861, allocations: 5.438 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3862, allocations: 0 / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.3863, allocations: 9.766 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3863, allocations: 5.156 kB / 0.6795 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.3863, allocations: 10.91 kB / 0.6795 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.3863, allocations: 1.188 kB / 0.6795 GB, free: 13.11 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 0.0001028/0.3865, allocations: 116 kB / 0.6796 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.3865, allocations: 5.125 kB / 0.6796 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.3867, allocations: 74.53 kB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3867, allocations: 0 / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3868, allocations: 1 kB / 0.6797 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3868, allocations: 3.984 kB / 0.6797 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.387, allocations: 157.9 kB / 0.6799 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.387, allocations: 0 / 0.6799 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.387, allocations: 10.14 kB / 0.6799 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3871, allocations: 5.5 kB / 0.6799 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3871, allocations: 3.938 kB / 0.6799 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3871, allocations: 0 / 0.6799 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3871, allocations: 5.312 kB / 0.6799 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3873, allocations: 162.9 kB / 0.68 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3874, allocations: 77.11 kB / 0.6801 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3874, allocations: 5.188 kB / 0.6801 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.3875, allocations: 7.766 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3876, allocations: 5.219 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3876, allocations: 0.9688 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.3876, allocations: 78.53 kB / 0.6802 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3876, allocations: 0 / 0.6802 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002456/0.3879, allocations: 21.17 kB / 0.6802 GB, free: 12.37 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.0007133/0.3886, allocations: 0.715 MB / 0.6809 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.3888, allocations: 40.23 kB / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3889, allocations: 0 / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.3889, allocations: 19.39 kB / 0.681 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3892, allocations: 2.5 kB / 0.681 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.3896, allocations: 150.4 kB / 0.6811 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3899, allocations: 0.6809 MB / 0.6818 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.3899, allocations: 0.9062 kB / 0.6818 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.39, allocations: 16.52 kB / 0.6818 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.39, allocations: 0 / 0.6818 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.4112, allocations: 1.518 MB / 0.6833 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.42, allocations: 14.83 kB / 0.6833 GB, free: 9.91 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)