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.001314/0.001314, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00174/0.00174, allocations: 213 kB / 22.24 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.816 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.8823/0.8823, allocations: 134 MB / 446.4 MB, free: 9.953 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.002185/0.002185, allocations: 64.19 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1614, allocations: 85.92 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002856/0.1643, allocations: 1.447 MB / 0.7038 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006425/0.1649, allocations: 232.1 kB / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.1649, allocations: 0 / 0.704 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.165, allocations: 3.938 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.165, allocations: 3.938 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1654, allocations: 55.89 kB / 0.7041 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.1654, allocations: 27.84 kB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.1655, allocations: 8 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1656, allocations: 4 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.1656, allocations: 15.92 kB / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1656, allocations: 4 kB / 0.7041 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1658, allocations: 51.89 kB / 0.7042 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1658, allocations: 7.984 kB / 0.7042 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1658, allocations: 4 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.166, allocations: 56.08 kB / 0.7043 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.166, allocations: 0 / 0.7043 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.166, allocations: 0 / 0.7043 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.166, allocations: 4 kB / 0.7043 GB, free: 15.16 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.0004407/0.1664, allocations: 278.2 kB / 0.7045 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1664, allocations: 8.031 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1665, allocations: 34.69 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.1665, allocations: 4.938 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1667, allocations: 110.5 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1667, allocations: 384 / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1667, allocations: 4.375 kB / 0.7047 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1669, allocations: 54.17 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1669, allocations: 3.938 kB / 0.7047 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1669, allocations: 7.984 kB / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1669, allocations: 0 / 0.7047 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1671, allocations: 35.91 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1674, allocations: 212.1 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.1676, allocations: 38.5 kB / 0.705 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.1677, allocations: 24.89 kB / 0.705 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.1682, allocations: 79.92 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1682, allocations: 30.56 kB / 0.7051 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1682, allocations: 0 / 0.7051 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.1685, allocations: 81.67 kB / 0.7052 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1686, allocations: 55.44 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.1687, allocations: 101.8 kB / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1687, allocations: 25.7 kB / 0.7054 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1688, allocations: 92.12 kB / 0.7055 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1688, allocations: 3.953 kB / 0.7055 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1688, allocations: 13.72 kB / 0.7055 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1689, allocations: 310.8 kB / 0.7058 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.169, allocations: 19.97 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.1691, allocations: 19.98 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1693, allocations: 40.77 kB / 0.7059 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1693, allocations: 3.938 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.1695, allocations: 69.61 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1695, allocations: 4 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1695, allocations: 4 kB / 0.7059 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1695, allocations: 4.094 kB / 0.706 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1696, allocations: 7.984 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1696, allocations: 0 / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1696, allocations: 4 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1696, allocations: 3.984 kB / 0.706 GB, free: 13.2 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 7.954e-05/0.1697, allocations: 113.8 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1697, allocations: 0 / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.17, allocations: 80.91 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.17, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.17, allocations: 4 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.17, allocations: 3.938 kB / 0.7062 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1701, allocations: 132.6 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1701, allocations: 0 / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.1702, allocations: 11.98 kB / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1702, allocations: 0 / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1702, allocations: 0 / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1702, allocations: 0 / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1702, allocations: 0 / 0.7063 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1704, allocations: 171.4 kB / 0.7065 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.1705, allocations: 11.89 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.1705, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.1705, allocations: 7.984 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.1706, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1706, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.1706, allocations: 83.28 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1706, allocations: 0 / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000234/0.1709, allocations: 20.02 kB / 0.7066 GB, free: 12.5 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.0006551/0.1715, allocations: 0.7046 MB / 0.7073 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1717, allocations: 47.92 kB / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1717, allocations: 0 / 0.7073 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1718, allocations: 15.98 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.172, allocations: 4.328 kB / 0.7073 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.1725, allocations: 143.2 kB / 0.7075 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.1726, allocations: 59.22 kB / 0.7075 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.1726, allocations: 4 kB / 0.7075 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.1726, allocations: 19.55 kB / 0.7075 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1726, allocations: 0 / 0.7075 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2019, allocations: 2.037 MB / 0.7095 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.13, allocations: 6.188 kB / 0.7095 GB, free: 9.512 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.773764327634126] Failed to read output from testmodel.py, exit status != 0: 11.23614401044324 11.253484484 11.084212168 Calling exit ...