Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001355/0.001355, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001855/0.001855, allocations: 214.6 kB / 23.78 MB, free: 4.523 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.049/1.049, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002121/0.002121, allocations: 68.59 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1849, allocations: 89.17 MB / 0.7291 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.002031/0.1869, allocations: 0.5885 MB / 0.7296 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.1874, allocations: 175.4 kB / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.1875, allocations: 0 / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.1875, allocations: 0 / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1875, allocations: 0 / 0.7298 GB, free: 24 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.1879, allocations: 51.91 kB / 0.7299 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.915e-05/0.1879, allocations: 11.94 kB / 0.7299 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.188, allocations: 3.984 kB / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.188, allocations: 4 kB / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.188, allocations: 0 / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.188, allocations: 0 / 0.7299 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1882, allocations: 59.86 kB / 0.7299 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.1882, allocations: 3.938 kB / 0.7299 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.1882, allocations: 0 / 0.7299 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1884, allocations: 44.09 kB / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1884, allocations: 0 / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1884, allocations: 0 / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1884, allocations: 0 / 0.73 GB, free: 15.85 MB / 0.5606 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.0003089/0.1887, allocations: 246.3 kB / 0.7302 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1887, allocations: 16.03 kB / 0.7302 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.562e-05/0.1887, allocations: 192 / 0.7302 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.1888, allocations: 30.75 kB / 0.7303 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.1888, allocations: 0.9375 kB / 0.7303 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.1889, allocations: 110.5 kB / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1889, allocations: 384 / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1889, allocations: 384 / 0.7304 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.189, allocations: 30.02 kB / 0.7304 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.189, allocations: 0 / 0.7304 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.189, allocations: 4 kB / 0.7304 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.189, allocations: 4 kB / 0.7304 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.1891, allocations: 7.922 kB / 0.7304 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1892, allocations: 120.8 kB / 0.7305 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.1893, allocations: 14.58 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.1893, allocations: 4.859 kB / 0.7306 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.19, allocations: 79.97 kB / 0.7306 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.19, allocations: 38.5 kB / 0.7307 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.19, allocations: 0 / 0.7307 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.1901, allocations: 37.62 kB / 0.7307 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1902, allocations: 55.41 kB / 0.7308 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.1902, allocations: 93.8 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1903, allocations: 25.7 kB / 0.7309 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.1903, allocations: 84.14 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1903, allocations: 3.953 kB / 0.731 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1903, allocations: 9.719 kB / 0.731 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1905, allocations: 315 kB / 0.7313 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.1905, allocations: 4 kB / 0.7313 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.1905, allocations: 0 / 0.7313 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.1905, allocations: 12.86 kB / 0.7313 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1905, allocations: 3.938 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.542e-05/0.1906, allocations: 33.69 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1906, allocations: 10.12 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1907, allocations: 4 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1907, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.1907, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1907, allocations: 4.094 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.1907, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1907, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 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.254e-05/0.1908, allocations: 109.8 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1908, allocations: 7.938 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/0.1909, allocations: 44.62 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1909, allocations: 3.938 kB / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1909, allocations: 0 / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1909, allocations: 0 / 0.7315 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.191, allocations: 120.8 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.191, allocations: 8.016 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.288e-05/0.191, allocations: 0 / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.191, allocations: 3.938 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.191, allocations: 4 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.191, allocations: 0 / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.191, allocations: 0 / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.1911, allocations: 57.14 kB / 0.7317 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.1911, allocations: 3.984 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1911, allocations: 3.938 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.1911, allocations: 3.938 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.1912, allocations: 4.031 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1912, allocations: 3.938 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.1912, allocations: 79.28 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1912, allocations: 0 / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002101/0.1914, allocations: 11.94 kB / 0.7318 GB, free: 13.74 MB / 0.5606 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.0005332/0.1919, allocations: 0.6163 MB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.822e-05/0.192, allocations: 15.92 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.192, allocations: 0 / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.192, allocations: 0 / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1922, allocations: 0 / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.1925, allocations: 106.6 kB / 0.7325 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.1926, allocations: 59.34 kB / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.064e-05/0.1926, allocations: 0 / 0.7326 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1926, allocations: 7.438 kB / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1926, allocations: 128 / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2147, allocations: 1.316 MB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 11.97 kB / 0.7339 GB, free: 11.67 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.424020814942196] Failed to read output from testmodel.py, exit status != 0: 11.66132443503011 11.678308022 11.486477593 Calling exit ...