Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001346/0.001346, allocations: 111.5 kB / 16.4 MB, free: 6.512 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.001347/0.001347, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.424/1.424, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.8496/0.8496, allocations: 132.2 MB / 429.4 MB, free: 5.98 MB / 334.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.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.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 75.84 kB / 0.5894 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1563, allocations: 80.19 MB / 0.6677 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001678/0.158, allocations: 0.5891 MB / 0.6683 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.1586, allocations: 183.8 kB / 0.6685 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.1586, allocations: 4 kB / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1586, allocations: 0 / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.1586, allocations: 0 / 0.6685 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1591, allocations: 59.81 kB / 0.6685 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.1591, allocations: 0 / 0.6685 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1592, allocations: 0 / 0.6685 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.1592, allocations: 4 kB / 0.6685 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.1592, allocations: 0 / 0.6685 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.1592, allocations: 0 / 0.6685 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1594, allocations: 59.88 kB / 0.6686 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.1594, allocations: 7.922 kB / 0.6686 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.1595, allocations: 4 kB / 0.6686 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1596, allocations: 32.17 kB / 0.6686 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1596, allocations: 4 kB / 0.6686 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1596, allocations: 0 / 0.6686 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1596, allocations: 0 / 0.6686 GB, free: 8.852 MB / 0.4981 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.0003436/0.1599, allocations: 317.4 kB / 0.669 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.16, allocations: 8.031 kB / 0.669 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.16, allocations: 34.75 kB / 0.669 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.925e-05/0.1601, allocations: 0.9375 kB / 0.669 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1602, allocations: 168.4 kB / 0.6692 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1602, allocations: 8.312 kB / 0.6692 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-06/0.1602, allocations: 384 / 0.6692 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.1603, allocations: 34.2 kB / 0.6692 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1603, allocations: 3.938 kB / 0.6692 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.1603, allocations: 0 / 0.6692 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1603, allocations: 0 / 0.6692 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.1604, allocations: 0 / 0.6692 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.1605, allocations: 149.7 kB / 0.6693 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.116e-05/0.1606, allocations: 26.55 kB / 0.6694 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.1606, allocations: 8.844 kB / 0.6694 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007913/0.1614, allocations: 453.5 kB / 0.6698 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1615, allocations: 34.56 kB / 0.6698 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.041e-06/0.1615, allocations: 0 / 0.6698 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.1616, allocations: 37.62 kB / 0.6699 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1617, allocations: 51.41 kB / 0.6699 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.043e-05/0.1617, allocations: 89.86 kB / 0.67 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1618, allocations: 33.64 kB / 0.67 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.1618, allocations: 80.14 kB / 0.6701 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1618, allocations: 3.953 kB / 0.6701 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.1619, allocations: 17.66 kB / 0.6701 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.162, allocations: 315 kB / 0.6704 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.162, allocations: 4 kB / 0.6704 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-06/0.1621, allocations: 0 / 0.6704 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.1621, allocations: 12.84 kB / 0.6705 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1621, allocations: 0 / 0.6705 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.015e-05/0.1621, allocations: 29.7 kB / 0.6705 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1622, allocations: 4 kB / 0.6705 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1622, allocations: 4.031 kB / 0.6705 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1622, allocations: 4 kB / 0.6705 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.1622, allocations: 8 kB / 0.6705 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1622, allocations: 3.938 kB / 0.6705 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-06/0.1623, allocations: 0 / 0.6705 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1623, allocations: 0 / 0.6705 GB, free: 6.621 MB / 0.4981 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 8.532e-05/0.1624, allocations: 113.8 kB / 0.6706 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.1624, allocations: 0 / 0.6706 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.1624, allocations: 36.77 kB / 0.6707 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1625, allocations: 4.031 kB / 0.6707 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1625, allocations: 0 / 0.6707 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1625, allocations: 0 / 0.6707 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1626, allocations: 153.7 kB / 0.6708 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1626, allocations: 4 kB / 0.6708 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.1626, allocations: 0 / 0.6708 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1626, allocations: 0 / 0.6708 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1626, allocations: 3.938 kB / 0.6708 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1626, allocations: 7.938 kB / 0.6708 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1627, allocations: 0 / 0.6708 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.537e-05/0.1627, allocations: 65.06 kB / 0.6709 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.1628, allocations: 77.11 kB / 0.671 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1628, allocations: 7.938 kB / 0.671 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.1628, allocations: 0 / 0.671 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.1628, allocations: 0 / 0.671 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1628, allocations: 4 kB / 0.671 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.1629, allocations: 79.22 kB / 0.671 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 0.671 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001908/0.1631, allocations: 15.97 kB / 0.6711 GB, free: 5.953 MB / 0.4981 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.0004681/0.1636, allocations: 0.624 MB / 0.6717 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.694e-05/0.1636, allocations: 4 kB / 0.6717 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1636, allocations: 0 / 0.6717 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.1636, allocations: 4 kB / 0.6717 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1638, allocations: 0 / 0.6717 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.164, allocations: 110.6 kB / 0.6718 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1643, allocations: 0.6729 MB / 0.6724 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.054e-05/0.1644, allocations: 0 / 0.6724 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1644, allocations: 11.56 kB / 0.6724 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.004e-06/0.1644, allocations: 0 / 0.6724 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.1864, allocations: 1.125 MB / 0.6735 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.945/8.131, allocations: 10.8 kB / 0.6736 GB, free: 3.387 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.628465466899797] Failed to read output from testmodel.py, exit status != 0: 8.199600673047826 8.226660665 8.061804674 Calling exit ...