Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 98.08 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 220.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8565/0.8565, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 69.78 kB / 0.6194 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1993, allocations: 85.91 MB / 0.7032 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002014/0.2013, allocations: 0.572 MB / 0.7038 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.2019, allocations: 195.8 kB / 0.704 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.2019, allocations: 0 / 0.704 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.2019, allocations: 3.938 kB / 0.704 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.202, allocations: 0 / 0.704 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2024, allocations: 51.88 kB / 0.704 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.2024, allocations: 3.938 kB / 0.7041 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.2025, allocations: 4 kB / 0.7041 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.2025, allocations: 0 / 0.7041 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.2025, allocations: 3.938 kB / 0.7041 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.2025, allocations: 0 / 0.7041 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2027, allocations: 63.92 kB / 0.7041 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.2027, allocations: 4 kB / 0.7041 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.2027, allocations: 0 / 0.7041 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2028, allocations: 36.12 kB / 0.7042 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2029, allocations: 0 / 0.7042 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2029, allocations: 0 / 0.7042 GB, free: 412 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2029, allocations: 0 / 0.7042 GB, free: 412 kB / 0.5137 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.0003003/0.2032, allocations: 242.4 kB / 0.7044 GB, free: 136 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2032, allocations: 8.031 kB / 0.7044 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.293e-05/0.2032, allocations: 192 / 0.7044 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.2032, allocations: 38.75 kB / 0.7044 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.203e-05/0.2033, allocations: 0.9375 kB / 0.7044 GB, free: 80 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2034, allocations: 106.5 kB / 0.7045 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2034, allocations: 384 / 0.7045 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.2034, allocations: 4.359 kB / 0.7045 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.2035, allocations: 38.02 kB / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2035, allocations: 0 / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2035, allocations: 0 / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2035, allocations: 3.938 kB / 0.7046 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.2035, allocations: 3.938 kB / 0.7046 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.2037, allocations: 128.8 kB / 0.7047 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.2037, allocations: 14.58 kB / 0.7047 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.2037, allocations: 4.859 kB / 0.7047 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.2043, allocations: 79.91 kB / 0.7048 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.2043, allocations: 38.5 kB / 0.7048 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2043, allocations: 0 / 0.7048 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.2045, allocations: 37.59 kB / 0.7049 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2045, allocations: 51.41 kB / 0.7049 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.797e-05/0.2046, allocations: 89.86 kB / 0.705 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.2046, allocations: 25.7 kB / 0.705 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.2046, allocations: 80.27 kB / 0.7051 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.2046, allocations: 11.98 kB / 0.7051 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2047, allocations: 13.72 kB / 0.7051 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2048, allocations: 310.8 kB / 0.7054 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.2048, allocations: 0 / 0.7054 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-06/0.2048, allocations: 4 kB / 0.7054 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.2049, allocations: 8.797 kB / 0.7054 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2049, allocations: 0 / 0.7054 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.636e-05/0.2049, allocations: 41.77 kB / 0.7055 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.2049, allocations: 11.92 kB / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2049, allocations: 0 / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2049, allocations: 0 / 0.7055 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.205, allocations: 4 kB / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.205, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.205, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.205, allocations: 0 / 0.7055 GB, free: 14.83 MB / 0.5294 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.675e-05/0.2051, allocations: 105.8 kB / 0.7056 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.2051, allocations: 7.969 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.2052, allocations: 40.62 kB / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2052, allocations: 4 kB / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2052, allocations: 0 / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2052, allocations: 0 / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.877e-05/0.2053, allocations: 116.8 kB / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2053, allocations: 0 / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.2053, allocations: 4 kB / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2053, allocations: 3.938 kB / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.2053, allocations: 0 / 0.7058 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2053, allocations: 8.016 kB / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2053, allocations: 0 / 0.7058 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/0.2054, allocations: 69.06 kB / 0.7058 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.2054, allocations: 3.938 kB / 0.7058 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.2054, allocations: 7.875 kB / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.2054, allocations: 0 / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.2054, allocations: 3.984 kB / 0.7059 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2054, allocations: 4.031 kB / 0.7059 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.2054, allocations: 79.28 kB / 0.7059 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.2054, allocations: 0 / 0.7059 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002006/0.2056, allocations: 11.94 kB / 0.7059 GB, free: 14.29 MB / 0.5294 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.0005172/0.2062, allocations: 0.6085 MB / 0.7065 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.2062, allocations: 7.938 kB / 0.7065 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2062, allocations: 0 / 0.7065 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-06/0.2062, allocations: 4 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2064, allocations: 3.984 kB / 0.7066 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.2067, allocations: 114 kB / 0.7067 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.207, allocations: 0.6727 MB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.207, allocations: 0 / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.207, allocations: 7.438 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.207, allocations: 0 / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2272, allocations: 1.277 MB / 0.7086 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.16, allocations: 10.88 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.826209252001718] Failed to read output from testmodel.py, exit status != 0: 11.324274807004258 11.348667865 11.141937898 Calling exit ...