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.0008153/0.0008153, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008446/0.0008446, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8914/0.8914, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.726/0.726, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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 1.443e-06/1.443e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.849e-05, allocations: 6.422 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.00105/0.001069, allocations: 0.5922 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.001417, allocations: 171.4 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.169e-05/0.001428, allocations: 0 / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.001443, allocations: 3.938 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.001449, allocations: 4 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.001799, allocations: 55.77 kB / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.764e-05/0.001836, allocations: 0 / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.001873, allocations: 0 / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.001897, allocations: 0 / 0.619 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.318e-05/0.00192, allocations: 7.984 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.001931, allocations: 0 / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.002067, allocations: 51.94 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.002078, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.241e-05/0.002091, allocations: 0 / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.002198, allocations: 51.81 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.0022, allocations: 4 kB / 0.6191 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/0.002202, allocations: 3.984 kB / 0.6191 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.002206, allocations: 0 / 0.6191 GB, free: 12.69 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.0002171/0.002423, allocations: 242.4 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.002458, allocations: 8.031 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.002485, allocations: 30.75 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.002507, allocations: 4.938 kB / 0.6193 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.424e-05/0.002561, allocations: 109.8 kB / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.00257, allocations: 384 / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-06/0.002576, allocations: 384 / 0.6194 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.952e-05/0.002655, allocations: 34.27 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002662, allocations: 192 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.002668, allocations: 4.375 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.002674, allocations: 4.125 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.002694, allocations: 0 / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.772e-05/0.002792, allocations: 120.7 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/0.002826, allocations: 14.58 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.216e-05/0.002838, allocations: 4.859 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.00322, allocations: 87.95 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.00324, allocations: 30.56 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.00324, allocations: 0 / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001136/0.003354, allocations: 37.64 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.003382, allocations: 59.34 kB / 0.6198 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.352e-05/0.003406, allocations: 89.86 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.003415, allocations: 29.64 kB / 0.6199 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.003433, allocations: 80.14 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.003456, allocations: 8.109 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.003477, allocations: 13.72 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.003548, allocations: 310.8 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.003558, allocations: 4 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.003563, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.003582, allocations: 8.859 kB / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003584, allocations: 0 / 0.6203 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.395e-05/0.003618, allocations: 37.58 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.00364, allocations: 11.98 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.003645, allocations: 96 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.003655, allocations: 4 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.003691, allocations: 0 / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.003697, allocations: 3.938 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.214e-06/0.003704, allocations: 4 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.003709, allocations: 0 / 0.6204 GB, free: 11.12 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.749e-05/0.003756, allocations: 106.8 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-06/0.003759, allocations: 0 / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.693e-05/0.003816, allocations: 44.64 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.003817, allocations: 0 / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.003824, allocations: 7.938 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.003827, allocations: 4.031 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.691e-05/0.003883, allocations: 116.7 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.003884, allocations: 3.938 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.003892, allocations: 4 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003892, allocations: 0 / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.003897, allocations: 0 / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.0039, allocations: 7.984 kB / 0.6207 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.003901, allocations: 3.938 kB / 0.6207 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.22e-05/0.003944, allocations: 61.14 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-06/0.003947, allocations: 0 / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.003954, allocations: 4.031 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-06/0.003958, allocations: 0 / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.003971, allocations: 11.92 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.003973, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.269e-05/0.003996, allocations: 75.28 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003996, allocations: 0 / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001376/0.004133, allocations: 15.94 kB / 0.6209 GB, free: 10.59 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.0002791/0.004413, allocations: 0.6115 MB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.497e-05/0.004467, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004469, allocations: 4 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.004472, allocations: 3.938 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.572e-05/0.004567, allocations: 5.812 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.004836, allocations: 122.5 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.004868, allocations: 55.36 kB / 0.6216 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.616e-06/0.004877, allocations: 128 / 0.6216 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.00489, allocations: 12.5 kB / 0.6216 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/0.004891, allocations: 0 / 0.6216 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.01949, allocations: 1.779 MB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.698/6.718, allocations: 6.656 kB / 0.6234 GB, free: 8.031 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.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 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.551794693805277] Failed to read output from testmodel.py, exit status != 0: 6.794837077148259 6.803534473 6.79968192 Calling exit ...