Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007846/0.0007846, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008903/0.0008903, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9857/0.9857, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.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.8345/0.8345, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 66.67 kB / 0.7183 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5701, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001767/0.5718, allocations: 0.5842 MB / 0.8185 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.5725, allocations: 288.4 kB / 0.8188 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.5725, allocations: 0 / 0.8188 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.5725, allocations: 0 / 0.8188 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/0.5725, allocations: 4 kB / 0.8188 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.573, allocations: 99.52 kB / 0.8189 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.5731, allocations: 2.125 kB / 0.8189 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.5731, allocations: 3.969 kB / 0.8189 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.5731, allocations: 0 / 0.8189 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.5732, allocations: 0 / 0.8189 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-06/0.5732, allocations: 3.984 kB / 0.8189 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.5734, allocations: 120.4 kB / 0.819 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.5734, allocations: 0 / 0.819 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.5734, allocations: 3.938 kB / 0.819 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.5736, allocations: 79.05 kB / 0.8191 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5736, allocations: 0 / 0.8191 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5736, allocations: 0 / 0.8191 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.5736, allocations: 0 / 0.8191 GB, free: 0.6094 MB / 0.6042 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.0002439/0.5738, allocations: 252.4 kB / 0.8193 GB, free: 352 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5739, allocations: 9.375 kB / 0.8193 GB, free: 352 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.324e-05/0.5739, allocations: 31.5 kB / 0.8193 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.5739, allocations: 4.531 kB / 0.8193 GB, free: 312 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.629e-05/0.574, allocations: 107.6 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.574, allocations: 384 / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.574, allocations: 4.375 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.5741, allocations: 30.33 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5741, allocations: 3.938 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5741, allocations: 0.6562 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5741, allocations: 3.938 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.811e-05/0.5741, allocations: 0 / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.5743, allocations: 123.7 kB / 0.8196 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.5746, allocations: 23.55 kB / 0.8196 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.5746, allocations: 5.516 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/0.5751, allocations: 73.12 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.5751, allocations: 30.56 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.5751, allocations: 4 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.5753, allocations: 48.89 kB / 0.8198 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.5753, allocations: 51.41 kB / 0.8198 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.812e-05/0.5753, allocations: 93.86 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5753, allocations: 27.14 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.5754, allocations: 80.94 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.5754, allocations: 3.938 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.5754, allocations: 13.03 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.711e-05/0.5755, allocations: 315.6 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.5755, allocations: 1.062 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-06/0.5755, allocations: 4.266 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.5755, allocations: 12.8 kB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5755, allocations: 0 / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.106e-05/0.5756, allocations: 32.5 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5756, allocations: 8.453 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5756, allocations: 3.938 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5756, allocations: 7.375 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.888e-05/0.5757, allocations: 0.6094 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.5757, allocations: 0.75 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.5757, allocations: 0 / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5757, allocations: 7.5 kB / 0.8204 GB, free: 15.17 MB / 0.6198 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 6.408e-05/0.5757, allocations: 106.6 kB / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-06/0.5758, allocations: 0 / 0.8205 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.5758, allocations: 50.75 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5758, allocations: 4.031 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5758, allocations: 1.906 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5758, allocations: 0 / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.5759, allocations: 118.2 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5759, allocations: 0 / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-06/0.5759, allocations: 4.5 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5759, allocations: 0 / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5759, allocations: 8.078 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5759, allocations: 0 / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.5759, allocations: 0 / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.994e-05/0.576, allocations: 63.03 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.576, allocations: 4.688 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.576, allocations: 4.5 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-06/0.576, allocations: 0 / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.576, allocations: 2.891 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.576, allocations: 0 / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.033e-05/0.576, allocations: 75.28 kB / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.576, allocations: 0 / 0.8208 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001752/0.5762, allocations: 36.48 kB / 0.8209 GB, free: 14.68 MB / 0.6198 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.0003686/0.5766, allocations: 0.6221 MB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.5766, allocations: 12.7 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5767, allocations: 0 / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.5767, allocations: 2 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.5768, allocations: 4.719 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.5771, allocations: 124.9 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5773, allocations: 0.6703 MB / 0.8223 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.5773, allocations: 5.078 kB / 0.8223 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.5773, allocations: 8.141 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.5773, allocations: 1.562 kB / 0.8223 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.5951, allocations: 1.49 MB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/7.296, allocations: 7.984 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.466886788839474] Failed to read output from testmodel.py, exit status != 0: 7.378849672153592 7.392795668 6.816941247 Calling exit ...