Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001362/0.001362, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001486/0.001486, allocations: 218 kB / 23.04 MB, free: 5.078 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002455/0.002455, allocations: 278.7 kB / 313.5 MB, free: 2.824 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.283/1.283, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="cs",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.002752/0.002752, allocations: 95.36 kB / 0.7404 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2175, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002934/0.2204, allocations: 1.481 MB / 0.8349 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008/0.2212, allocations: 353.4 kB / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.2213, allocations: 0 / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2213, allocations: 0 / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.2213, allocations: 3.938 kB / 0.8353 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.2218, allocations: 95.72 kB / 0.8354 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.2219, allocations: 23.92 kB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.2219, allocations: 8 kB / 0.8354 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.626e-05/0.222, allocations: 15.92 kB / 0.8354 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.222, allocations: 12 kB / 0.8354 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.222, allocations: 0 / 0.8354 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.2223, allocations: 127.8 kB / 0.8356 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2223, allocations: 0 / 0.8356 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.2223, allocations: 7.938 kB / 0.8356 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.2225, allocations: 91.97 kB / 0.8357 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2225, allocations: 0 / 0.8357 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2225, allocations: 0 / 0.8357 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2225, allocations: 0 / 0.8357 GB, free: 6.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004659/0.223, allocations: 283 kB / 0.8359 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.223, allocations: 9.344 kB / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.816e-05/0.223, allocations: 192 / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.2231, allocations: 30.75 kB / 0.836 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.2231, allocations: 8.891 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2232, allocations: 114.5 kB / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.2232, allocations: 4.312 kB / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.2232, allocations: 4.375 kB / 0.8361 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2234, allocations: 61.92 kB / 0.8361 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2234, allocations: 0 / 0.8361 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2234, allocations: 0 / 0.8361 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2234, allocations: 0 / 0.8361 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.2236, allocations: 35.95 kB / 0.8362 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.2239, allocations: 216 kB / 0.8364 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.224, allocations: 42.5 kB / 0.8364 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.2241, allocations: 28.83 kB / 0.8365 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.2246, allocations: 67.92 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2247, allocations: 38.56 kB / 0.8366 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 4.429e-06/0.2247, allocations: 3.984 kB / 0.8366 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.225, allocations: 77.64 kB / 0.8366 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2251, allocations: 51.41 kB / 0.8367 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.878e-05/0.2252, allocations: 101.8 kB / 0.8368 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2252, allocations: 33.83 kB / 0.8368 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.2252, allocations: 84.09 kB / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2253, allocations: 7.953 kB / 0.8369 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2253, allocations: 17.66 kB / 0.8369 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2254, allocations: 310.8 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.124e-05/0.2255, allocations: 19.97 kB / 0.8372 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.2256, allocations: 15.98 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2257, allocations: 40.83 kB / 0.8373 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2257, allocations: 0 / 0.8373 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.2259, allocations: 73.66 kB / 0.8374 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2259, allocations: 4 kB / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2259, allocations: 0 / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.226, allocations: 32 / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.226, allocations: 15.98 kB / 0.8374 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.226, allocations: 3.938 kB / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.2261, allocations: 7.984 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2261, allocations: 0 / 0.8374 GB, free: 4.457 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 (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 8.591e-05/0.2262, allocations: 114.4 kB / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2262, allocations: 0 / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.2264, allocations: 72.97 kB / 0.8376 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2264, allocations: 4 kB / 0.8376 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2264, allocations: 0 / 0.8376 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2264, allocations: 0 / 0.8376 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.2266, allocations: 132.7 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2266, allocations: 0 / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.2267, allocations: 8 kB / 0.8377 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2267, allocations: 3.938 kB / 0.8377 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2267, allocations: 0 / 0.8377 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2267, allocations: 3.938 kB / 0.8377 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.2267, allocations: 11.95 kB / 0.8377 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.2269, allocations: 163.4 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.2269, allocations: 3.984 kB / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.2269, allocations: 0 / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.227, allocations: 4 kB / 0.8379 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.2271, allocations: 12.02 kB / 0.8379 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.2271, allocations: 0 / 0.8379 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.2271, allocations: 83.28 kB / 0.838 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2271, allocations: 0 / 0.838 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002694/0.2274, allocations: 27.94 kB / 0.838 GB, free: 3.746 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 (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.0007156/0.2281, allocations: 0.7356 MB / 0.8387 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.2283, allocations: 40 kB / 0.8388 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2283, allocations: 0 / 0.8388 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.2284, allocations: 15.98 kB / 0.8388 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.2286, allocations: 7.984 kB / 0.8388 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.2291, allocations: 147.1 kB / 0.8389 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.2294, allocations: 0.6808 MB / 0.8396 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.044e-05/0.2294, allocations: 0 / 0.8396 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.2295, allocations: 15.44 kB / 0.8396 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2295, allocations: 0 / 0.8396 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.2518, allocations: 1.895 MB / 0.8415 GB, free: 268 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.04, allocations: 16.89 kB / 0.8415 GB, free: 260 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.440527879982255] Failed to read output from testmodel.py, exit status != 0: 11.1990124330041 11.217088899 10.991413038 Calling exit ...