Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.001396/0.001396, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00165/0.00165, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8368/0.8368, allocations: 134 MB / 446.4 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",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.002056/0.002056, allocations: 66.16 kB / 0.6185 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1784, allocations: 85.91 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.003113/0.1815, allocations: 1.455 MB / 0.7039 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.1821, allocations: 252.1 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1821, allocations: 0 / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.1822, allocations: 3.938 kB / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.1822, allocations: 0 / 0.7041 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1826, allocations: 67.75 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.1826, allocations: 19.92 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.1827, allocations: 4 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.1827, allocations: 8 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.1828, allocations: 15.92 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1828, allocations: 0 / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1829, allocations: 67.86 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.1829, allocations: 4 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.183, allocations: 7.938 kB / 0.7043 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1831, allocations: 56.08 kB / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1831, allocations: 0 / 0.7043 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1831, allocations: 3.938 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1831, allocations: 0 / 0.7044 GB, free: 15.39 MB / 0.5294 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.000439/0.1836, allocations: 274.2 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1836, allocations: 12.03 kB / 0.7046 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1836, allocations: 34.73 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.1837, allocations: 0.9375 kB / 0.7047 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1838, allocations: 118.4 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1838, allocations: 384 / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1838, allocations: 4.375 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.184, allocations: 46.23 kB / 0.7048 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.184, allocations: 7.938 kB / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.184, allocations: 4 kB / 0.7048 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.184, allocations: 4 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1841, allocations: 27.97 kB / 0.7049 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1845, allocations: 220 kB / 0.7051 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.1846, allocations: 42.5 kB / 0.7051 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1847, allocations: 20.91 kB / 0.7051 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.1852, allocations: 75.91 kB / 0.7052 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1853, allocations: 34.56 kB / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1853, allocations: 0 / 0.7052 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000364/0.1856, allocations: 85.58 kB / 0.7053 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1857, allocations: 51.41 kB / 0.7054 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.1858, allocations: 97.86 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1858, allocations: 25.7 kB / 0.7055 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.1858, allocations: 92.25 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1859, allocations: 3.953 kB / 0.7056 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1859, allocations: 17.72 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.186, allocations: 310.8 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1861, allocations: 11.98 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.202e-05/0.1862, allocations: 23.91 kB / 0.7059 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1863, allocations: 44.89 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1863, allocations: 3.938 kB / 0.706 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.1865, allocations: 73.55 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1865, allocations: 4 kB / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1865, allocations: 0 / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1866, allocations: 0 / 0.706 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.1866, allocations: 11.98 kB / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1866, allocations: 4.031 kB / 0.7061 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.1867, allocations: 4 kB / 0.7061 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1867, allocations: 4 kB / 0.7061 GB, free: 13.43 MB / 0.5294 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.305e-05/0.1868, allocations: 113.8 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1868, allocations: 3.984 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.187, allocations: 76.84 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.187, allocations: 4.031 kB / 0.7063 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.187, allocations: 4 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.187, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.1872, allocations: 128.7 kB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1872, allocations: 0 / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.1872, allocations: 7.984 kB / 0.7064 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1872, allocations: 4 kB / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1872, allocations: 0 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1873, allocations: 0 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1873, allocations: 0 / 0.7064 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1875, allocations: 163.6 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.1875, allocations: 11.89 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.1875, allocations: 3.984 kB / 0.7066 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.1876, allocations: 7.984 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.1876, allocations: 4 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1876, allocations: 4.031 kB / 0.7066 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.1877, allocations: 87.2 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1877, allocations: 0 / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000235/0.1879, allocations: 16 kB / 0.7067 GB, free: 12.73 MB / 0.5294 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.0006202/0.1885, allocations: 0.7085 MB / 0.7074 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1887, allocations: 35.97 kB / 0.7074 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1887, allocations: 3.938 kB / 0.7074 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.1888, allocations: 19.98 kB / 0.7074 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.189, allocations: 11.98 kB / 0.7074 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.1895, allocations: 143.2 kB / 0.7076 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1898, allocations: 0.6805 MB / 0.7082 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.1899, allocations: 4 kB / 0.7082 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.1899, allocations: 7.438 kB / 0.7083 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1899, allocations: 4 kB / 0.7083 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.2199, allocations: 1.607 MB / 0.7098 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 14.48 kB / 0.7098 GB, free: 9.531 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.70719275297597] Failed to read output from testmodel.py, exit status != 0: 11.26032233494334 11.278653847 11.092175811 Calling exit ...