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.001162/0.001162, 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.001225/0.001225, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64 kB / 0.5048 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 80.93 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002865/0.1642, allocations: 1.481 MB / 0.5853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006011/0.1649, allocations: 264.1 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.1649, allocations: 0 / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.1649, allocations: 7.938 kB / 0.5855 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.165, allocations: 4 kB / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1653, allocations: 39.89 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.1653, allocations: 23.88 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.1654, allocations: 7.984 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1655, allocations: 11.98 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.1655, allocations: 7.922 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1655, allocations: 7.938 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1657, allocations: 67.88 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1657, allocations: 8 kB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.1657, allocations: 3.938 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.1659, allocations: 55.91 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1659, allocations: 0 / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1659, allocations: 0 / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1659, allocations: 4 kB / 0.5857 GB, free: 2.922 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.0004526/0.1663, allocations: 347.7 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1664, allocations: 8.031 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.1664, allocations: 38.69 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1665, allocations: 4.875 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1666, allocations: 164.4 kB / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1666, allocations: 384 / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1666, allocations: 384 / 0.5863 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1668, allocations: 50.23 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1668, allocations: 3.938 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1668, allocations: 0 / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1668, allocations: 0 / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.167, allocations: 39.95 kB / 0.5864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1675, allocations: 248.8 kB / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1676, allocations: 42.53 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.1677, allocations: 32.89 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008943/0.1686, allocations: 453.5 kB / 0.5871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1687, allocations: 34.56 kB / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1687, allocations: 0 / 0.5871 GB, free: 1.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.169, allocations: 85.58 kB / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1691, allocations: 51.41 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.1691, allocations: 97.86 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1692, allocations: 33.69 kB / 0.5874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.1692, allocations: 80.14 kB / 0.5875 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1692, allocations: 7.906 kB / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1693, allocations: 17.84 kB / 0.5875 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1694, allocations: 310.8 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.1695, allocations: 15.98 kB / 0.5878 GB, free: 492 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.1695, allocations: 19.97 kB / 0.5878 GB, free: 472 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1697, allocations: 32.83 kB / 0.5879 GB, free: 436 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1697, allocations: 8 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.1699, allocations: 73.59 kB / 0.5879 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1699, allocations: 4 kB / 0.5879 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1699, allocations: 0 / 0.5879 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1699, allocations: 4 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.17, allocations: 15.92 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.17, allocations: 3.984 kB / 0.588 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1701, allocations: 8.031 kB / 0.588 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1701, allocations: 0 / 0.588 GB, free: 312 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 8.453e-05/0.1702, allocations: 117.8 kB / 0.5881 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1702, allocations: 7.844 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.1704, allocations: 72.72 kB / 0.5882 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1705, allocations: 4 kB / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1705, allocations: 0 / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1705, allocations: 4.031 kB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1707, allocations: 165.5 kB / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1707, allocations: 0 / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.1707, allocations: 7.984 kB / 0.5883 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1707, allocations: 4 kB / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1707, allocations: 0 / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.1708, allocations: 0 / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1708, allocations: 0 / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.171, allocations: 167.5 kB / 0.5885 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.171, allocations: 81.09 kB / 0.5886 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1711, allocations: 3.938 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1711, allocations: 4 kB / 0.5886 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.1712, allocations: 3.984 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1712, allocations: 4 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.1712, allocations: 79.28 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1712, allocations: 8.031 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002279/0.1715, allocations: 12 kB / 0.5887 GB, free: 15.47 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.0005924/0.1721, allocations: 0.7124 MB / 0.5894 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1723, allocations: 35.91 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1723, allocations: 0 / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.1724, allocations: 19.97 kB / 0.5894 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1726, allocations: 8.125 kB / 0.5894 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.1731, allocations: 152.8 kB / 0.5896 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1734, allocations: 0.677 MB / 0.5903 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.1734, allocations: 0 / 0.5903 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.1734, allocations: 7.438 kB / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1734, allocations: 0 / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.1843, allocations: 1.314 MB / 0.5915 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.1846, allocations: 185.9 kB / 0.5917 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/1.879, allocations: 0 / 0.5917 GB, free: 12.29 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)