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-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.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.005082/0.005082, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001673/0.001673, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.301 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 0.9022/0.9022, allocations: 143.3 MB / 433.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 67.89 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2994, allocations: 82.03 MB / 0.6755 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001202/0.3007, allocations: 0.5723 MB / 0.676 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.301, allocations: 183.1 kB / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-06/0.301, allocations: 0.8438 kB / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.301, allocations: 0 / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.3011, allocations: 0 / 0.6762 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3014, allocations: 53.89 kB / 0.6762 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.231e-05/0.3014, allocations: 5.156 kB / 0.6762 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.033e-05/0.3014, allocations: 1.094 kB / 0.6762 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.949e-06/0.3014, allocations: 0 / 0.6762 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.49e-05/0.3015, allocations: 13.02 kB / 0.6763 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.789e-06/0.3015, allocations: 0 / 0.6763 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3016, allocations: 57.28 kB / 0.6763 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-06/0.3016, allocations: 1.406 kB / 0.6763 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.119e-05/0.3016, allocations: 0 / 0.6763 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.778e-05/0.3017, allocations: 32.39 kB / 0.6763 GB, free: 304 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3017, allocations: 3.984 kB / 0.6763 GB, free: 300 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3017, allocations: 1.188 kB / 0.6763 GB, free: 300 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3018, allocations: 4 kB / 0.6764 GB, free: 296 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.0002116/0.302, allocations: 317.5 kB / 0.6767 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.302, allocations: 9.688 kB / 0.6767 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.302, allocations: 38.67 kB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.565e-05/0.3021, allocations: 5.906 kB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.432e-05/0.3022, allocations: 172.4 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3022, allocations: 5.5 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.3022, allocations: 384 / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.033e-05/0.3023, allocations: 28.61 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3023, allocations: 7.938 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.3023, allocations: 0 / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3023, allocations: 1.469 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.406e-05/0.3023, allocations: 1.438 kB / 0.6769 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.3024, allocations: 145.7 kB / 0.6771 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.3025, allocations: 25.42 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.3025, allocations: 6.141 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.3031, allocations: 451.4 kB / 0.6775 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3032, allocations: 31.53 kB / 0.6775 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3032, allocations: 0 / 0.6775 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.3033, allocations: 41.78 kB / 0.6776 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3033, allocations: 60.47 kB / 0.6776 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.3034, allocations: 89.86 kB / 0.6777 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.3034, allocations: 26.73 kB / 0.6778 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.3034, allocations: 80.14 kB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3034, allocations: 4.984 kB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.3035, allocations: 10.81 kB / 0.6778 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3036, allocations: 311.9 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.3036, allocations: 1.031 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.438e-06/0.3036, allocations: 9.094 kB / 0.6782 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.3036, allocations: 12.28 kB / 0.6782 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3036, allocations: 0 / 0.6782 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.213e-05/0.3037, allocations: 29.92 kB / 0.6782 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3037, allocations: 5.344 kB / 0.6782 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3037, allocations: 9.281 kB / 0.6782 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.3037, allocations: 3.938 kB / 0.6782 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.3037, allocations: 1.406 kB / 0.6782 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.3038, allocations: 0 / 0.6782 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-06/0.3038, allocations: 5.125 kB / 0.6782 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3038, allocations: 0 / 0.6782 GB, free: 14.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 (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.065e-05/0.3038, allocations: 115.9 kB / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.3039, allocations: 0 / 0.6783 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.3039, allocations: 41.33 kB / 0.6784 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3039, allocations: 0 / 0.6784 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.3039, allocations: 1.125 kB / 0.6784 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3039, allocations: 0 / 0.6784 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.242e-05/0.304, allocations: 146.7 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.304, allocations: 4.031 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/0.3041, allocations: 2.281 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3041, allocations: 0 / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.3041, allocations: 9 kB / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3041, allocations: 0 / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3041, allocations: 1.125 kB / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.939e-05/0.3041, allocations: 61.36 kB / 0.6786 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.3042, allocations: 85.14 kB / 0.6787 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.3042, allocations: 5.125 kB / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-06/0.3042, allocations: 0 / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-06/0.3042, allocations: 1.188 kB / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.3042, allocations: 0 / 0.6787 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.678e-05/0.3043, allocations: 75.28 kB / 0.6787 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3043, allocations: 1.094 kB / 0.6787 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001712/0.3044, allocations: 14.34 kB / 0.6788 GB, free: 13.54 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.0003812/0.3048, allocations: 0.6176 MB / 0.6794 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.209e-05/0.3049, allocations: 7.406 kB / 0.6794 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3049, allocations: 96 / 0.6794 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.3049, allocations: 6.344 kB / 0.6794 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.305, allocations: 1.156 kB / 0.6794 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.3053, allocations: 121.7 kB / 0.6795 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3055, allocations: 0.6702 MB / 0.6801 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.255e-06/0.3055, allocations: 1.156 kB / 0.6801 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.3055, allocations: 7.438 kB / 0.6802 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3055, allocations: 0 / 0.6802 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.158/1.463, allocations: 1.16 MB / 0.6813 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.676/11.14, allocations: 14.77 kB / 0.6813 GB, free: 11.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)