Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.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.001012/0.001012, 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.000807/0.000807, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8843/0.8843, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7085/0.7085, 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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6182 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.622e-05, allocations: 2.281 kB / 0.6182 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001053/0.001069, allocations: 0.5905 MB / 0.6187 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.001524, allocations: 267 kB / 0.619 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.001537, allocations: 0 / 0.619 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.001551, allocations: 0 / 0.619 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.001557, allocations: 0 / 0.619 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.001949, allocations: 91.66 kB / 0.6191 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 4.322e-05/0.001992, allocations: 8 kB / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.002031, allocations: 4 kB / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.002058, allocations: 0 / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 2.228e-05/0.002081, allocations: 0 / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.00209, allocations: 0 / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.002281, allocations: 119.8 kB / 0.6192 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.002292, allocations: 0 / 0.6192 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.364e-05/0.002306, allocations: 3.984 kB / 0.6192 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.002437, allocations: 91.73 kB / 0.6193 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002438, allocations: 0 / 0.6193 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002439, allocations: 0 / 0.6193 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002442, allocations: 0 / 0.6193 GB, free: 11.32 MB / 0.5417 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.0002097/0.002652, allocations: 258.2 kB / 0.6195 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.002686, allocations: 12.03 kB / 0.6195 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.002712, allocations: 30.75 kB / 0.6196 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.848e-05/0.00273, allocations: 0.9375 kB / 0.6196 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.827e-05/0.002779, allocations: 105.8 kB / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.002787, allocations: 384 / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-06/0.002793, allocations: 384 / 0.6197 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/0.002868, allocations: 34.2 kB / 0.6197 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.002874, allocations: 192 / 0.6197 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.00288, allocations: 384 / 0.6197 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.002886, allocations: 8.125 kB / 0.6197 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.002901, allocations: 3.938 kB / 0.6197 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.003003, allocations: 120.8 kB / 0.6198 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.003039, allocations: 22.58 kB / 0.6199 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.003052, allocations: 8.953 kB / 0.6199 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.003458, allocations: 75.92 kB / 0.6199 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003476, allocations: 34.55 kB / 0.62 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.284e-06/0.003479, allocations: 3.984 kB / 0.62 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.003594, allocations: 41.58 kB / 0.62 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.003694, allocations: 55.34 kB / 0.6201 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.369e-05/0.003717, allocations: 89.86 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.003726, allocations: 25.7 kB / 0.6202 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.003742, allocations: 80.14 kB / 0.6203 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.003768, allocations: 0 / 0.6203 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.003791, allocations: 17.72 kB / 0.6203 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.003859, allocations: 315 kB / 0.6206 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-06/0.003866, allocations: 0 / 0.6206 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.003872, allocations: 3.984 kB / 0.6206 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.913e-05/0.003891, allocations: 8.859 kB / 0.6206 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.003893, allocations: 0 / 0.6206 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.128e-05/0.003924, allocations: 37.64 kB / 0.6206 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.003935, allocations: 4 kB / 0.6206 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.00394, allocations: 0 / 0.6206 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.00395, allocations: 0 / 0.6206 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.003986, allocations: 96 / 0.6206 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.003992, allocations: 11.94 kB / 0.6206 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-06/0.003998, allocations: 0 / 0.6206 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.00401, allocations: 4 kB / 0.6206 GB, free: 9.742 MB / 0.5417 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.71e-05/0.004057, allocations: 110.8 kB / 0.6207 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-06/0.004059, allocations: 0 / 0.6207 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.004117, allocations: 40.66 kB / 0.6208 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.004118, allocations: 0 / 0.6208 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.004123, allocations: 7.875 kB / 0.6208 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.004127, allocations: 7.938 kB / 0.6208 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.671e-05/0.004183, allocations: 124.8 kB / 0.6209 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004185, allocations: 0 / 0.6209 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.004191, allocations: 4 kB / 0.6209 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.004193, allocations: 0 / 0.6209 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.004198, allocations: 0 / 0.6209 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.004199, allocations: 0 / 0.6209 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.004201, allocations: 3.938 kB / 0.6209 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.067e-05/0.004241, allocations: 57.12 kB / 0.621 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-06/0.004244, allocations: 0 / 0.621 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.004252, allocations: 0 / 0.621 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-06/0.004256, allocations: 4 kB / 0.621 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.004269, allocations: 7.969 kB / 0.621 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.00427, allocations: 0 / 0.621 GB, free: 9.309 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.918e-05/0.004289, allocations: 75.28 kB / 0.6211 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.004289, allocations: 0 / 0.6211 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000151/0.00444, allocations: 31.88 kB / 0.6211 GB, free: 9.203 MB / 0.5417 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.0003001/0.00474, allocations: 0.6358 MB / 0.6217 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.489e-05/0.004795, allocations: 11.98 kB / 0.6217 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.004796, allocations: 0 / 0.6217 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.791e-06/0.004802, allocations: 7.938 kB / 0.6217 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.793e-05/0.00489, allocations: 3.938 kB / 0.6217 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/0.005118, allocations: 114.5 kB / 0.6218 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.005149, allocations: 59.47 kB / 0.6219 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.606e-06/0.005158, allocations: 4 kB / 0.6219 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.613e-05/0.005174, allocations: 12.5 kB / 0.6219 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.005175, allocations: 0 / 0.6219 GB, free: 8.266 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.01878, allocations: 2.025 MB / 0.6239 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.803, allocations: 4.688 kB / 0.6239 GB, free: 6.367 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.52229833137244] Failed to read output from testmodel.py, exit status != 0: 6.8855160465464 6.894572853 6.890478515 Calling exit ...