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.0007964/0.0007964, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001214/0.001214, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8965/0.8965, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7113/0.7113, allocations: 154.6 MB / 413.8 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 3.938 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.412e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001305/0.001329, allocations: 0.594 MB / 0.6187 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.001701, allocations: 171.4 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.001715, allocations: 0 / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.001729, allocations: 0 / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.001735, allocations: 0 / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.002087, allocations: 51.77 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.264e-05/0.00213, allocations: 8 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.002168, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.002193, allocations: 3.938 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.002213, allocations: 4 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.002221, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.002367, allocations: 55.94 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.002378, allocations: 7.875 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.002392, allocations: 3.984 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.002508, allocations: 35.94 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00251, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.994e-06/0.002512, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.002517, allocations: 4 kB / 0.6191 GB, free: 12.64 MB / 0.5886 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.0002547/0.002772, allocations: 246.3 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.002812, allocations: 12.03 kB / 0.6193 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.002843, allocations: 34.75 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.002867, allocations: 0.9375 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.261e-05/0.00292, allocations: 101.8 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.002929, allocations: 384 / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.002941, allocations: 384 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.189e-05/0.003023, allocations: 30.27 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.003031, allocations: 4.172 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003038, allocations: 384 / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.003044, allocations: 4.125 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.003063, allocations: 7.938 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.003166, allocations: 120.8 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.003201, allocations: 18.61 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.003214, allocations: 4.859 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004354/0.003649, allocations: 75.97 kB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.003671, allocations: 38.55 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003672, allocations: 0 / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.003799, allocations: 37.64 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.003826, allocations: 55.34 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.324e-05/0.00385, allocations: 93.86 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.003858, allocations: 25.7 kB / 0.6199 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.712e-05/0.003875, allocations: 80.14 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.003909, allocations: 4 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.00393, allocations: 9.719 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.004004, allocations: 318.8 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.004016, allocations: 4 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.004022, allocations: 128 / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.004046, allocations: 16.92 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004048, allocations: 0 / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.885e-05/0.004087, allocations: 33.64 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.004099, allocations: 4 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.004104, allocations: 3.938 kB / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.004114, allocations: 0 / 0.6204 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.539e-05/0.004159, allocations: 4 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.004166, allocations: 3.938 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-06/0.004174, allocations: 3.984 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.004179, allocations: 4.031 kB / 0.6204 GB, free: 11.07 MB / 0.5886 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 4.822e-05/0.004228, allocations: 110.8 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-06/0.004231, allocations: 0 / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.004297, allocations: 48.59 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004299, allocations: 0 / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.004304, allocations: 3.938 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004306, allocations: 0 / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.92e-05/0.004366, allocations: 124.7 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.004367, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-06/0.004375, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004376, allocations: 4.031 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.004381, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.004382, allocations: 0 / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.004384, allocations: 7.938 kB / 0.6207 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.508e-05/0.004429, allocations: 61.12 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.004433, allocations: 4 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.004442, allocations: 0 / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-06/0.004445, allocations: 0 / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.004458, allocations: 3.938 kB / 0.6208 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.004459, allocations: 0 / 0.6208 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.789e-05/0.004477, allocations: 79.22 kB / 0.6208 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004477, allocations: 4.031 kB / 0.6208 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001337/0.004611, allocations: 15.94 kB / 0.6209 GB, free: 10.54 MB / 0.5886 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.0003228/0.004933, allocations: 0.6085 MB / 0.6215 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.598e-05/0.004999, allocations: 4 kB / 0.6215 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005001, allocations: 4.094 kB / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.005007, allocations: 7.938 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.005112, allocations: 3.938 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.005355, allocations: 110.6 kB / 0.6216 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.005394, allocations: 55.36 kB / 0.6216 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.227e-06/0.005404, allocations: 0 / 0.6216 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.005419, allocations: 8.5 kB / 0.6216 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.00542, allocations: 0 / 0.6216 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.02218, allocations: 1.785 MB / 0.6234 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.737, allocations: 7.969 kB / 0.6234 GB, free: 7.984 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.392355376854539] Failed to read output from testmodel.py, exit status != 0: 6.817065458744764 6.830340978 6.824253705 Calling exit ...