Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 104.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.108/1.108, allocations: 175.8 MB / 478.4 MB, free: 3.469 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.92 kB / 0.6652 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 94.54 MB / 0.7575 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002552/0.1827, allocations: 1.43 MB / 0.7589 GB, free: 172 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005638/0.1833, allocations: 261.4 kB / 0.7592 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.1833, allocations: 4 kB / 0.7592 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.1833, allocations: 3.984 kB / 0.7592 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/0.1834, allocations: 3.938 kB / 0.7592 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1837, allocations: 51.83 kB / 0.7592 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.1837, allocations: 20 kB / 0.7593 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.1838, allocations: 3.984 kB / 0.7593 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.829e-05/0.1839, allocations: 11.98 kB / 0.7593 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.666e-05/0.1839, allocations: 11.92 kB / 0.7593 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.1839, allocations: 0 / 0.7593 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.184, allocations: 71.88 kB / 0.7594 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.184, allocations: 4 kB / 0.7594 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.1841, allocations: 7.938 kB / 0.7594 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1842, allocations: 59.73 kB / 0.7594 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1842, allocations: 0 / 0.7594 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1842, allocations: 0 / 0.7594 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1842, allocations: 0 / 0.7594 GB, free: 15.66 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.0004631/0.1847, allocations: 347.3 kB / 0.7598 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1847, allocations: 12.03 kB / 0.7598 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1848, allocations: 38.73 kB / 0.7598 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.1848, allocations: 0.9375 kB / 0.7598 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1849, allocations: 164.3 kB / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1849, allocations: 4.375 kB / 0.76 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.1849, allocations: 384 / 0.76 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1851, allocations: 54.17 kB / 0.76 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1851, allocations: 3.938 kB / 0.76 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.1851, allocations: 0 / 0.76 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1851, allocations: 0 / 0.76 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1853, allocations: 43.89 kB / 0.7601 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.1856, allocations: 245 kB / 0.7603 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1857, allocations: 38.5 kB / 0.7603 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.1858, allocations: 24.89 kB / 0.7604 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.1865, allocations: 453.5 kB / 0.7608 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1865, allocations: 34.5 kB / 0.7608 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1865, allocations: 0 / 0.7608 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003217/0.1868, allocations: 85.64 kB / 0.7609 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1869, allocations: 51.41 kB / 0.761 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.187, allocations: 97.84 kB / 0.761 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.187, allocations: 25.7 kB / 0.7611 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.187, allocations: 84.14 kB / 0.7612 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.187, allocations: 11.89 kB / 0.7612 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.1871, allocations: 9.844 kB / 0.7612 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1872, allocations: 326.8 kB / 0.7615 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.1873, allocations: 11.98 kB / 0.7615 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.1873, allocations: 15.98 kB / 0.7615 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1875, allocations: 44.75 kB / 0.7616 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1875, allocations: 8 kB / 0.7616 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.1877, allocations: 61.67 kB / 0.7616 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1877, allocations: 4 kB / 0.7616 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1877, allocations: 0 / 0.7616 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1877, allocations: 0 / 0.7616 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.1878, allocations: 11.98 kB / 0.7616 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1878, allocations: 0 / 0.7616 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1878, allocations: 7.984 kB / 0.7616 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1878, allocations: 4.031 kB / 0.7616 GB, free: 13.06 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 7.479e-05/0.1879, allocations: 113.8 kB / 0.7618 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.1879, allocations: 7.953 kB / 0.7618 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.1881, allocations: 68.91 kB / 0.7618 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.1881, allocations: 7.984 kB / 0.7618 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1881, allocations: 0 / 0.7618 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1881, allocations: 0 / 0.7618 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1883, allocations: 173.5 kB / 0.762 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1883, allocations: 4 kB / 0.762 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.1884, allocations: 7.984 kB / 0.762 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1884, allocations: 0 / 0.762 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.1884, allocations: 0 / 0.762 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1884, allocations: 3.938 kB / 0.762 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1884, allocations: 4 kB / 0.762 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1886, allocations: 167.4 kB / 0.7622 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.1887, allocations: 81.11 kB / 0.7623 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1887, allocations: 0 / 0.7623 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.1887, allocations: 7.984 kB / 0.7623 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1888, allocations: 0 / 0.7623 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1888, allocations: 0 / 0.7623 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.1888, allocations: 83.28 kB / 0.7623 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1888, allocations: 0 / 0.7623 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002327/0.1891, allocations: 23.97 kB / 0.7624 GB, free: 12.22 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.0006235/0.1897, allocations: 0.7201 MB / 0.7631 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1899, allocations: 35.95 kB / 0.7631 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1899, allocations: 0 / 0.7631 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.19, allocations: 19.98 kB / 0.7631 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1902, allocations: 0 / 0.7631 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1906, allocations: 139.2 kB / 0.7633 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1909, allocations: 0.6768 MB / 0.7639 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.1909, allocations: 0 / 0.7639 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.1909, allocations: 11.44 kB / 0.7639 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.1909, allocations: 0 / 0.7639 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.2147, allocations: 1.507 MB / 0.7654 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.283, allocations: 4.062 kB / 0.7654 GB, free: 9.074 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.271362911909819] Failed to read output from testmodel.py, exit status != 0: 8.353927452117205 8.372205517 8.18476536 Calling exit ...