Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.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.001242/0.001242, 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.00148/0.00148, 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.9233/0.9233, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.7212/0.7212, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.383e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001722/0.001736, allocations: 1.456 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003931/0.002129, allocations: 239.2 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.002155, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.002184, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002219, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.002555, allocations: 63.75 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.002619, allocations: 27.86 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.002699, allocations: 4 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.002744, allocations: 11.98 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.002809, allocations: 8 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.00282, allocations: 3.984 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.002937, allocations: 59.88 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.00295, allocations: 7.938 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.002966, allocations: 7.984 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.003095, allocations: 67.84 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003097, allocations: 0 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003098, allocations: 0 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003102, allocations: 0 / 0.62 GB, free: 11.68 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.0003492/0.003451, allocations: 262.3 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.003491, allocations: 12.03 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.003521, allocations: 30.75 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.00354, allocations: 4.891 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.003615, allocations: 113.7 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.003624, allocations: 384 / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.003632, allocations: 4.375 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.003749, allocations: 58.16 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003756, allocations: 192 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.003764, allocations: 4.312 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.003769, allocations: 4.125 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.003853, allocations: 31.97 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.004102, allocations: 212.1 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.004178, allocations: 42.5 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.004224, allocations: 28.89 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/0.004563, allocations: 75.92 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.004583, allocations: 34.5 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004584, allocations: 4 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.004807, allocations: 81.59 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.00484, allocations: 51.41 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.004899, allocations: 101.8 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.004909, allocations: 29.7 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.004944, allocations: 88.08 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.004959, allocations: 3.953 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004983, allocations: 17.66 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.005131, allocations: 319 kB / 0.6216 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.005171, allocations: 15.98 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.005205, allocations: 15.98 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.675e-05/0.005281, allocations: 36.83 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005284, allocations: 4 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001011/0.005385, allocations: 69.66 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.005397, allocations: 8 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005401, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005412, allocations: 0 / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.005466, allocations: 11.92 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005472, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.005493, allocations: 7.984 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.005499, allocations: 4 kB / 0.6217 GB, free: 9.734 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.743e-05/0.005557, allocations: 110.9 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.00557, allocations: 3.938 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.005701, allocations: 76.92 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005702, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.005708, allocations: 4 kB / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.00571, allocations: 0 / 0.6219 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.005807, allocations: 124.8 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005807, allocations: 3.938 kB / 0.622 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.00583, allocations: 11.98 kB / 0.622 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005832, allocations: 7.969 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005838, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.005838, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.00584, allocations: 3.938 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.005958, allocations: 167.5 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-06/0.005964, allocations: 3.938 kB / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005973, allocations: 0 / 0.6222 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.006009, allocations: 7.984 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.006039, allocations: 4.031 kB / 0.6222 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006043, allocations: 4 kB / 0.6222 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.675e-05/0.00607, allocations: 83.44 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00607, allocations: 4 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001633/0.006233, allocations: 19.94 kB / 0.6223 GB, free: 9.031 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.0003441/0.006577, allocations: 0.7198 MB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.006692, allocations: 35.97 kB / 0.6231 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006694, allocations: 4 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.006731, allocations: 11.98 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.006893, allocations: 7.938 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.007205, allocations: 146.7 kB / 0.6232 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.007244, allocations: 55.36 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.00726, allocations: 3.984 kB / 0.6233 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.007289, allocations: 12.5 kB / 0.6233 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/0.00729, allocations: 0 / 0.6233 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.0213, allocations: 2.178 MB / 0.6254 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.086, allocations: 4.656 kB / 0.6254 GB, free: 5.91 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1_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_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.932031691074371] Failed to read output from testmodel.py, exit status != 0: 7.166920573450625 7.179556563 7.173763623 Calling exit ...