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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00125/0.00125, allocations: 194 kB / 16.14 MB, free: 6.695 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.889/0.889, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.19 kB / 0.5048 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.143, allocations: 80.93 MB / 0.5838 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002528/0.1456, allocations: 1.484 MB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005252/0.1462, allocations: 248.2 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.1462, allocations: 4 kB / 0.5855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.1462, allocations: 0 / 0.5855 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.1463, allocations: 3.938 kB / 0.5855 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1466, allocations: 47.89 kB / 0.5856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.852e-05/0.1466, allocations: 19.92 kB / 0.5856 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.1467, allocations: 4 kB / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.963e-05/0.1468, allocations: 15.98 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.1468, allocations: 3.938 kB / 0.5856 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1468, allocations: 4 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.147, allocations: 63.88 kB / 0.5857 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.147, allocations: 4 kB / 0.5857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.147, allocations: 19.84 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1471, allocations: 47.94 kB / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1472, allocations: 0 / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1472, allocations: 0 / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1472, allocations: 3.938 kB / 0.5857 GB, free: 2.863 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.0004378/0.1476, allocations: 351.7 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1477, allocations: 12.03 kB / 0.5861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1477, allocations: 30.75 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.179e-05/0.1477, allocations: 0.9375 kB / 0.5861 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1479, allocations: 164.4 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1479, allocations: 4.375 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1479, allocations: 384 / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1481, allocations: 58.17 kB / 0.5863 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1481, allocations: 3.938 kB / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.1481, allocations: 0 / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1481, allocations: 0 / 0.5863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1483, allocations: 31.97 kB / 0.5864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1486, allocations: 252.9 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1488, allocations: 46.44 kB / 0.5866 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.1489, allocations: 20.91 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/0.1495, allocations: 453.5 kB / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1495, allocations: 38.56 kB / 0.5871 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1496, allocations: 0 / 0.5871 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003294/0.1499, allocations: 81.58 kB / 0.5872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.1499, allocations: 51.41 kB / 0.5873 GB, free: 1.012 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.781e-05/0.15, allocations: 97.86 kB / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.15, allocations: 29.83 kB / 0.5874 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.15, allocations: 88.12 kB / 0.5875 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.1501, allocations: 11.84 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1501, allocations: 13.72 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.1502, allocations: 310.8 kB / 0.5878 GB, free: 448 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.1503, allocations: 15.98 kB / 0.5878 GB, free: 432 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.1504, allocations: 15.97 kB / 0.5878 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1505, allocations: 44.89 kB / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1505, allocations: 3.938 kB / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.1507, allocations: 65.66 kB / 0.5879 GB, free: 292 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1507, allocations: 4 kB / 0.5879 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1507, allocations: 0 / 0.5879 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1508, allocations: 4.031 kB / 0.5879 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.1508, allocations: 19.86 kB / 0.588 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1508, allocations: 0 / 0.588 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1509, allocations: 4 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1509, allocations: 0 / 0.588 GB, free: 260 kB / 494.1 MB 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 6.922e-05/0.151, allocations: 117.8 kB / 0.5881 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.151, allocations: 4.094 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.1512, allocations: 76.78 kB / 0.5882 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1512, allocations: 3.984 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1513, allocations: 4 kB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1513, allocations: 0 / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1514, allocations: 161.5 kB / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1514, allocations: 0 / 0.5883 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.1515, allocations: 7.984 kB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1515, allocations: 0 / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1515, allocations: 4 kB / 0.5883 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1515, allocations: 3.938 kB / 0.5883 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1515, allocations: 8.016 kB / 0.5883 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1518, allocations: 163.5 kB / 0.5885 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1518, allocations: 77.11 kB / 0.5886 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1518, allocations: 3.984 kB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1519, allocations: 4 kB / 0.5886 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.1519, allocations: 8.016 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1519, allocations: 4 kB / 0.5886 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.152, allocations: 79.28 kB / 0.5887 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.152, allocations: 0 / 0.5887 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002306/0.1522, allocations: 16 kB / 0.5887 GB, free: 15.42 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.0006041/0.1528, allocations: 0.7201 MB / 0.5894 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.153, allocations: 31.97 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1531, allocations: 4.094 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.1531, allocations: 19.97 kB / 0.5894 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1534, allocations: 10.19 kB / 0.5894 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.1538, allocations: 144.7 kB / 0.5896 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.154, allocations: 0.677 MB / 0.5902 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.1541, allocations: 8.062 kB / 0.5902 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1541, allocations: 7.438 kB / 0.5903 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1541, allocations: 0 / 0.5903 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01034/0.1645, allocations: 1.304 MB / 0.5915 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.1647, allocations: 182 kB / 0.5917 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.802, allocations: 0 / 0.5917 GB, free: 12.25 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)