Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001234/0.001234, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00147/0.00147, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002451/0.002451, allocations: 281 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002861/0.002861, allocations: 101.8 kB / 0.7395 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1699, allocations: 95.38 MB / 0.8327 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001654/0.1715, allocations: 0.5999 MB / 0.8333 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005883/0.1721, allocations: 255.5 kB / 0.8335 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.1721, allocations: 4 kB / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.1722, allocations: 0 / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.1722, allocations: 0 / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.1726, allocations: 95.72 kB / 0.8336 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.1726, allocations: 4 kB / 0.8336 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.1727, allocations: 0 / 0.8336 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1727, allocations: 4 kB / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.1727, allocations: 0 / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.1727, allocations: 0 / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.173, allocations: 115.8 kB / 0.8337 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.173, allocations: 0 / 0.8337 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.173, allocations: 11.94 kB / 0.8337 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1731, allocations: 68.11 kB / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1731, allocations: 0 / 0.8338 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1731, allocations: 3.938 kB / 0.8338 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1732, allocations: 0 / 0.8338 GB, free: 7.109 MB / 0.5762 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.0002898/0.1734, allocations: 256.5 kB / 0.834 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1735, allocations: 13.34 kB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.1735, allocations: 30.75 kB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.9e-05/0.1735, allocations: 0.9375 kB / 0.8341 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.282e-05/0.1736, allocations: 110.5 kB / 0.8342 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1736, allocations: 8.375 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1736, allocations: 384 / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.1737, allocations: 30.25 kB / 0.8342 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1737, allocations: 3.938 kB / 0.8342 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-06/0.1737, allocations: 0 / 0.8342 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1737, allocations: 0 / 0.8342 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.822e-05/0.1738, allocations: 4 kB / 0.8342 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1739, allocations: 116.8 kB / 0.8344 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.1739, allocations: 22.55 kB / 0.8344 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.1739, allocations: 4.859 kB / 0.8344 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005332/0.1745, allocations: 79.97 kB / 0.8345 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1745, allocations: 34.56 kB / 0.8345 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1745, allocations: 0 / 0.8345 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001169/0.1746, allocations: 33.64 kB / 0.8345 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1747, allocations: 51.41 kB / 0.8346 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.1747, allocations: 93.98 kB / 0.8347 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1747, allocations: 25.7 kB / 0.8347 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.1748, allocations: 84.08 kB / 0.8348 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.1748, allocations: 8 kB / 0.8348 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.1748, allocations: 17.64 kB / 0.8348 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.175, allocations: 310.8 kB / 0.8351 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.175, allocations: 4 kB / 0.8351 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-06/0.175, allocations: 0 / 0.8351 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.175, allocations: 8.859 kB / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.175, allocations: 0 / 0.8351 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.871e-05/0.1751, allocations: 37.77 kB / 0.8351 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1751, allocations: 4 kB / 0.8351 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.1751, allocations: 3.938 kB / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1751, allocations: 0 / 0.8351 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1751, allocations: 11.92 kB / 0.8352 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1751, allocations: 0 / 0.8352 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-06/0.1751, allocations: 0 / 0.8352 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-06/0.1752, allocations: 0 / 0.8352 GB, free: 5.535 MB / 0.5762 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 7.842e-05/0.1752, allocations: 114 kB / 0.8353 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.1752, allocations: 0 / 0.8353 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.1753, allocations: 44.61 kB / 0.8353 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1753, allocations: 3.984 kB / 0.8353 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1753, allocations: 0 / 0.8353 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1753, allocations: 0 / 0.8353 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.1754, allocations: 120.8 kB / 0.8354 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1754, allocations: 4 kB / 0.8354 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.1754, allocations: 0 / 0.8354 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1754, allocations: 0 / 0.8354 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1754, allocations: 3.938 kB / 0.8354 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1754, allocations: 0 / 0.8354 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1754, allocations: 11.97 kB / 0.8354 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.1755, allocations: 57.12 kB / 0.8355 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.1755, allocations: 4 kB / 0.8355 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1755, allocations: 7.922 kB / 0.8355 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-06/0.1755, allocations: 0 / 0.8355 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.1755, allocations: 0 / 0.8355 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.1755, allocations: 0 / 0.8355 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.1756, allocations: 75.28 kB / 0.8356 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1756, allocations: 0 / 0.8356 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00022/0.1758, allocations: 31.92 kB / 0.8356 GB, free: 4.992 MB / 0.5762 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.00053/0.1763, allocations: 0.6413 MB / 0.8362 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.834e-05/0.1764, allocations: 4 kB / 0.8362 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1764, allocations: 96 / 0.8362 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.764e-06/0.1764, allocations: 8 kB / 0.8362 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.1765, allocations: 4 kB / 0.8363 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1768, allocations: 116.3 kB / 0.8364 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.433e-05/0.1769, allocations: 55.36 kB / 0.8364 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.398e-06/0.1769, allocations: 0 / 0.8364 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.1769, allocations: 11.38 kB / 0.8364 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1769, allocations: 0 / 0.8364 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.205, allocations: 1.898 MB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.76, allocations: 2.312 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.687677741982043] Failed to read output from testmodel.py, exit status != 0: 10.859730632044375 10.884508676 10.707919459 Calling exit ...