Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.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.0008714/0.0008714, 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.0009733/0.0009733, 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.9847/0.9847, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7514/0.7514, allocations: 154.5 MB / 413.7 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.503e-05, allocations: 6.688 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.002194/0.002219, allocations: 1.459 MB / 0.6195 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005736/0.002793, allocations: 334.9 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.224e-05/0.002825, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.002857, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.0029, allocations: 4 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.00337, allocations: 107.5 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.003437, allocations: 23.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.003528, allocations: 8 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.003577, allocations: 11.98 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.003615, allocations: 8 kB / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.003627, allocations: 0 / 0.62 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.003811, allocations: 127.7 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.003826, allocations: 0 / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.003847, allocations: 11.92 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.004034, allocations: 107.7 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004037, allocations: 4 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004039, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.004044, allocations: 0 / 0.6202 GB, free: 11.55 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.0004344/0.004478, allocations: 282.2 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.004528, allocations: 9.469 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.004561, allocations: 34.75 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.004587, allocations: 4.891 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.004678, allocations: 105.8 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.00469, allocations: 384 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.004698, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.004863, allocations: 46.23 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.004874, allocations: 8.125 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.004886, allocations: 4.375 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.004893, allocations: 4.125 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.004994, allocations: 35.94 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.00547, allocations: 212.1 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.005636, allocations: 38.55 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.005719, allocations: 24.84 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.006413, allocations: 91.91 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.006452, allocations: 46.38 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.006454, allocations: 0 / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000335/0.006789, allocations: 85.59 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.006834, allocations: 51.41 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.006925, allocations: 101.8 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006939, allocations: 25.7 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.007381, allocations: 84.14 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.007409, allocations: 11.89 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.007441, allocations: 9.719 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.007543, allocations: 314.8 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.007597, allocations: 24.09 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.007637, allocations: 15.92 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.259e-05/0.00772, allocations: 36.83 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007722, allocations: 0 / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.007836, allocations: 77.66 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.007853, allocations: 6.031 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007859, allocations: 0 / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.007873, allocations: 0 / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.007937, allocations: 11.98 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.007944, allocations: 0 / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.007972, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.007979, allocations: 3.984 kB / 0.6219 GB, free: 9.574 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 6.692e-05/0.008046, allocations: 114.8 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.008061, allocations: 3.938 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.008218, allocations: 81 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.00822, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.008226, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.008229, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.00834, allocations: 124.8 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008341, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.008372, allocations: 11.98 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.008375, allocations: 3.938 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.008383, allocations: 4.031 kB / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008384, allocations: 0 / 0.6223 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008386, allocations: 3.938 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.008531, allocations: 163.4 kB / 0.6224 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.008543, allocations: 11.94 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.008555, allocations: 0 / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.008593, allocations: 7.984 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.008627, allocations: 0 / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.008629, allocations: 4.031 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.008657, allocations: 79.28 kB / 0.6225 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008657, allocations: 3.938 kB / 0.6225 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002022/0.008859, allocations: 35.92 kB / 0.6226 GB, free: 8.855 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.0005761/0.009435, allocations: 0.7318 MB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.009609, allocations: 43.95 kB / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.009611, allocations: 0 / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.009657, allocations: 11.98 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.009901, allocations: 8.125 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.01041, allocations: 142.5 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.471e-05/0.01047, allocations: 63.34 kB / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.0105, allocations: 0 / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.01054, allocations: 8.5 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of SimCode: time 2.234e-06/0.01054, allocations: 0 / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.03106, allocations: 2.457 MB / 0.6259 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.079, allocations: 5.922 kB / 0.6259 GB, free: 5.441 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1_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_dev_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.028898454271257] Failed to read output from testmodel.py, exit status != 0: 7.167399091646075 7.178800282 7.172766619 Calling exit ...