Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.0007698/0.0007698, 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.0009025/0.0009025, 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.9397/0.9397, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7187/0.7187, 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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.938e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001906/0.001936, allocations: 1.451 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.002352, allocations: 239.2 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.002381, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.002408, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.002447, allocations: 0 / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.00279, allocations: 63.69 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.00285, allocations: 23.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.435e-05/0.002934, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.002981, allocations: 11.98 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.003014, allocations: 15.98 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003026, allocations: 4 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.003139, allocations: 59.88 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.003152, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.003172, allocations: 7.984 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.003315, allocations: 63.84 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003317, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003318, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.003323, allocations: 0 / 0.62 GB, free: 11.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003754/0.003698, allocations: 262.3 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.003743, allocations: 16.03 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.003776, allocations: 30.75 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.003802, allocations: 4.891 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.003882, allocations: 105.8 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003894, allocations: 8.25 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.003903, allocations: 4.359 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.004045, allocations: 50.23 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.004053, allocations: 192 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.004061, allocations: 384 / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.004067, allocations: 4.125 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.004158, allocations: 39.95 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.004454, allocations: 212.1 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.004543, allocations: 38.5 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.0046, allocations: 24.91 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/0.004998, allocations: 83.84 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.00502, allocations: 38.5 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.005021, allocations: 0 / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002345/0.005256, allocations: 81.59 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.005292, allocations: 55.34 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.00535, allocations: 102 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.00536, allocations: 25.7 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.005397, allocations: 84.14 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.005559, allocations: 11.88 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.005582, allocations: 13.72 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.005656, allocations: 314.8 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.005702, allocations: 15.98 kB / 0.6216 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.005738, allocations: 15.98 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.005816, allocations: 44.88 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005818, allocations: 0 / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.005921, allocations: 69.59 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.005934, allocations: 7.938 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.005939, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.005952, allocations: 0 / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.006011, allocations: 8 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.006017, allocations: 8.016 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.006039, allocations: 4 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.006043, allocations: 0 / 0.6217 GB, free: 9.785 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 (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 5.269e-05/0.006096, allocations: 110.8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.00611, allocations: 7.938 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.006243, allocations: 72.91 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006245, allocations: 3.938 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006249, allocations: 4.031 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006252, allocations: 0 / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.006355, allocations: 128.8 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006357, allocations: 4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.006381, allocations: 4 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006384, allocations: 7.875 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.006391, allocations: 4 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006392, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.006395, allocations: 3.984 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.006526, allocations: 163.5 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-06/0.006533, allocations: 7.922 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.006543, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.006577, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.006611, allocations: 7.984 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.006614, allocations: 0 / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.006642, allocations: 91.39 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006642, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001753/0.006817, allocations: 15.94 kB / 0.6223 GB, free: 9.082 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 (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.0004076/0.007225, allocations: 0.7163 MB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.007357, allocations: 31.97 kB / 0.6231 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007359, allocations: 4.094 kB / 0.6231 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.007399, allocations: 19.97 kB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.007601, allocations: 4 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.007977, allocations: 142.5 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.688e-05/0.008024, allocations: 59.34 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.008044, allocations: 0 / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.008076, allocations: 12.5 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.008077, allocations: 4.062 kB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.02908, allocations: 2.171 MB / 0.6254 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/6.866, allocations: 14.14 kB / 0.6254 GB, free: 5.965 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.700332009233534] Failed to read output from testmodel.py, exit status != 0: 6.948392938822508 6.960410235 6.95438075 Calling exit ...