Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.001273/0.001273, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001597/0.001597, allocations: 214.6 kB / 22.25 MB, free: 5.242 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.789 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.002468/0.002468, allocations: 286.2 kB / 312.7 MB, free: 2.598 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.168/1.168, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",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.002845/0.002845, allocations: 101.4 kB / 0.7395 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1746, allocations: 95.38 MB / 0.8327 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001661/0.1763, allocations: 0.5868 MB / 0.8333 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004726/0.1768, allocations: 179.8 kB / 0.8334 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.057e-05/0.1768, allocations: 0 / 0.8334 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.1768, allocations: 3.938 kB / 0.8334 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1768, allocations: 0 / 0.8334 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1772, allocations: 51.84 kB / 0.8335 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.1772, allocations: 7.984 kB / 0.8335 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1772, allocations: 0 / 0.8335 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.405e-05/0.1772, allocations: 7.922 kB / 0.8335 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.729e-05/0.1773, allocations: 0 / 0.8335 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-06/0.1773, allocations: 4 kB / 0.8335 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.1774, allocations: 59.88 kB / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.1774, allocations: 0 / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.1775, allocations: 0 / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1776, allocations: 36.17 kB / 0.8336 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1776, allocations: 7.984 kB / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1776, allocations: 0 / 0.8336 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.1776, allocations: 0 / 0.8336 GB, free: 7.305 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.000283/0.1779, allocations: 238.4 kB / 0.8338 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1779, allocations: 13.34 kB / 0.8338 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.1779, allocations: 30.75 kB / 0.8339 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.939e-05/0.178, allocations: 4.938 kB / 0.8339 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.914e-05/0.178, allocations: 106.5 kB / 0.834 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.178, allocations: 4.359 kB / 0.834 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1781, allocations: 8.312 kB / 0.834 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.997e-05/0.1781, allocations: 30.27 kB / 0.834 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1781, allocations: 3.938 kB / 0.834 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.1781, allocations: 0 / 0.834 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.1782, allocations: 0 / 0.834 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.1782, allocations: 4 kB / 0.834 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1783, allocations: 116.8 kB / 0.8341 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.1783, allocations: 26.55 kB / 0.8342 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.1784, allocations: 16.78 kB / 0.8342 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.1789, allocations: 71.98 kB / 0.8342 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1789, allocations: 34.56 kB / 0.8343 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1789, allocations: 4 kB / 0.8343 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000112/0.179, allocations: 41.62 kB / 0.8343 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1791, allocations: 51.41 kB / 0.8344 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.563e-05/0.1791, allocations: 89.86 kB / 0.8345 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1791, allocations: 25.7 kB / 0.8345 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1792, allocations: 80.14 kB / 0.8346 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1792, allocations: 0 / 0.8346 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1792, allocations: 13.72 kB / 0.8346 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1793, allocations: 314.8 kB / 0.8349 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.1793, allocations: 3.938 kB / 0.8349 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.1794, allocations: 7.938 kB / 0.8349 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.1794, allocations: 9.047 kB / 0.8349 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1794, allocations: 0 / 0.8349 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.782e-05/0.1794, allocations: 37.69 kB / 0.8349 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1794, allocations: 6.188 kB / 0.8349 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1794, allocations: 3.938 kB / 0.8349 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1795, allocations: 0 / 0.8349 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.1795, allocations: 4 kB / 0.8349 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1795, allocations: 0 / 0.8349 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-06/0.1795, allocations: 0 / 0.8349 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.1795, allocations: 3.938 kB / 0.8349 GB, free: 5.734 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.153e-05/0.1796, allocations: 117.8 kB / 0.8351 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.1796, allocations: 7.984 kB / 0.8351 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.1797, allocations: 36.64 kB / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1797, allocations: 0 / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1797, allocations: 0 / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1797, allocations: 0 / 0.8351 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.32e-05/0.1798, allocations: 116.8 kB / 0.8352 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1798, allocations: 4 kB / 0.8352 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.1798, allocations: 0 / 0.8352 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1798, allocations: 0 / 0.8352 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1798, allocations: 11.97 kB / 0.8352 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1798, allocations: 3.938 kB / 0.8352 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1798, allocations: 0 / 0.8352 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.869e-05/0.1799, allocations: 57.08 kB / 0.8353 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.1799, allocations: 3.984 kB / 0.8353 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1799, allocations: 7.938 kB / 0.8353 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-06/0.1799, allocations: 0 / 0.8353 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1799, allocations: 0 / 0.8353 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.1799, allocations: 8 kB / 0.8353 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.1799, allocations: 75.28 kB / 0.8354 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1799, allocations: 4.031 kB / 0.8354 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001858/0.1801, allocations: 15.94 kB / 0.8354 GB, free: 5.199 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.0004344/0.1805, allocations: 0.6162 MB / 0.836 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.077e-05/0.1806, allocations: 0 / 0.836 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.1806, allocations: 4.094 kB / 0.836 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.1806, allocations: 4 kB / 0.836 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.1807, allocations: 0 / 0.836 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.181, allocations: 108.4 kB / 0.8361 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.1811, allocations: 59.28 kB / 0.8362 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.04e-05/0.1811, allocations: 4 kB / 0.8362 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.1811, allocations: 7.438 kB / 0.8362 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1811, allocations: 0 / 0.8362 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.2077, allocations: 1.665 MB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.7, allocations: 9.312 kB / 0.8378 GB, free: 2.766 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.606774515938014] Failed to read output from testmodel.py, exit status != 0: 10.803232767153531 10.82653402 10.644743129 Calling exit ...