Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007744/0.0007744, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005548/0.005549, allocations: 170.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9364/0.9364, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003594, allocations: 12 kB / 0.5077 GB, free: 4.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 82.3 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001296/0.1568, allocations: 1.144 MB / 0.5892 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000465/0.1573, allocations: 261.7 kB / 0.5894 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.1573, allocations: 7.938 kB / 0.5894 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.1573, allocations: 4 kB / 0.5895 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.06e-05/0.1574, allocations: 0 / 0.5895 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1576, allocations: 43.89 kB / 0.5895 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.325e-05/0.1577, allocations: 19.92 kB / 0.5895 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.1577, allocations: 11.98 kB / 0.5895 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.1578, allocations: 7.938 kB / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.1578, allocations: 3.984 kB / 0.5895 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.1578, allocations: 4 kB / 0.5895 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.158, allocations: 63.89 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.158, allocations: 11.98 kB / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.158, allocations: 33.62 kB / 0.5896 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1581, allocations: 51.86 kB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1581, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1582, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.1582, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB 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.0003566/0.1585, allocations: 355.7 kB / 0.59 GB, free: 484 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1586, allocations: 15.97 kB / 0.59 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.1586, allocations: 30.75 kB / 0.5901 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.1586, allocations: 0.9375 kB / 0.5901 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.1587, allocations: 160.4 kB / 0.5902 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1587, allocations: 4.375 kB / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1587, allocations: 384 / 0.5902 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1589, allocations: 54.23 kB / 0.5903 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1589, allocations: 7.938 kB / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.1589, allocations: 0 / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1589, allocations: 0 / 0.5903 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.1591, allocations: 43.95 kB / 0.5903 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1594, allocations: 260.8 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1595, allocations: 50.53 kB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.1596, allocations: 20.91 kB / 0.5907 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/0.1602, allocations: 465.5 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.1602, allocations: 34.5 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.1603, allocations: 0 / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1606, allocations: 105.6 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1606, allocations: 51.41 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1607, allocations: 93.98 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1607, allocations: 29.7 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.1608, allocations: 88.12 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.1608, allocations: 11.84 kB / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.1608, allocations: 9.719 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.1609, allocations: 310.8 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.161, allocations: 23.98 kB / 0.5918 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.1611, allocations: 23.97 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1612, allocations: 48.83 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1612, allocations: 8 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.1614, allocations: 81.59 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1615, allocations: 6.344 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.1615, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1615, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.1616, allocations: 16.02 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.1616, allocations: 0 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1616, allocations: 8 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1616, allocations: 0 / 0.592 GB, free: 14.18 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 (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 5.67e-05/0.1617, allocations: 109.8 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.1617, allocations: 7.984 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.162, allocations: 92.72 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.162, allocations: 192 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.162, allocations: 0 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.162, allocations: 3.984 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.1621, allocations: 161.5 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1621, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.1622, allocations: 16.02 kB / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1622, allocations: 0 / 0.5924 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1622, allocations: 4 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1622, allocations: 0 / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1622, allocations: 0 / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1625, allocations: 179.4 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.1625, allocations: 84.98 kB / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1625, allocations: 3.984 kB / 0.5926 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.1626, allocations: 8 kB / 0.5926 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.1626, allocations: 0 / 0.5926 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1627, allocations: 12.02 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.1627, allocations: 79.28 kB / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1629, allocations: 16 kB / 0.5927 GB, free: 13.31 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 (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.0005261/0.1635, allocations: 0.7202 MB / 0.5935 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1637, allocations: 51.94 kB / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1637, allocations: 0 / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.1638, allocations: 31.91 kB / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.164, allocations: 7.656 kB / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.1644, allocations: 146.4 kB / 0.5937 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.1646, allocations: 0.6731 MB / 0.5943 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.1646, allocations: 4 kB / 0.5943 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.1647, allocations: 11.42 kB / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1647, allocations: 0 / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.2174, allocations: 1.249 MB / 0.5956 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.2176, allocations: 186.2 kB / 0.5957 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/3.186, allocations: 0 / 0.5957 GB, free: 10.2 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)