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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001144/0.001144, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9342/0.9342, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 55.66 kB / 0.5049 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.95 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003079/0.1606, allocations: 1.469 MB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005481/0.1612, allocations: 256.1 kB / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.1613, allocations: 0 / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.1613, allocations: 0 / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.1614, allocations: 11.91 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1618, allocations: 51.91 kB / 0.5857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.1619, allocations: 19.98 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.162, allocations: 11.94 kB / 0.5858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.1621, allocations: 15.92 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.1621, allocations: 3.984 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1621, allocations: 4 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1623, allocations: 67.88 kB / 0.5859 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1623, allocations: 4 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1623, allocations: 7.938 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1625, allocations: 55.84 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1625, allocations: 4 kB / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1625, allocations: 0 / 0.5859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1626, allocations: 4 kB / 0.5859 GB, free: 2.781 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.0004912/0.163, allocations: 347.7 kB / 0.5863 GB, free: 2.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1631, allocations: 11.97 kB / 0.5863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1632, allocations: 34.75 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1632, allocations: 4.938 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1633, allocations: 168.3 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1634, allocations: 384 / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1634, allocations: 4.312 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1636, allocations: 54.23 kB / 0.5865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1636, allocations: 3.938 kB / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1636, allocations: 0 / 0.5865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1636, allocations: 4 kB / 0.5865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1638, allocations: 31.97 kB / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1642, allocations: 245 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1643, allocations: 50.42 kB / 0.5868 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.1644, allocations: 24.91 kB / 0.5869 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007757/0.1652, allocations: 457.5 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1652, allocations: 34.5 kB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1652, allocations: 0 / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.1656, allocations: 81.64 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1656, allocations: 55.34 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.1657, allocations: 110 kB / 0.5876 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1657, allocations: 25.7 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1658, allocations: 80.14 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1658, allocations: 3.906 kB / 0.5877 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.1658, allocations: 17.72 kB / 0.5877 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1659, allocations: 314.8 kB / 0.588 GB, free: 352 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.166, allocations: 15.98 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.1661, allocations: 19.98 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1663, allocations: 32.83 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1663, allocations: 3.938 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.1665, allocations: 65.66 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1665, allocations: 7.938 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1665, allocations: 8.094 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1665, allocations: 0 / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1666, allocations: 11.98 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1666, allocations: 0 / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1667, allocations: 7.984 kB / 0.5882 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1667, allocations: 0 / 0.5882 GB, free: 168 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 7.055e-05/0.1667, allocations: 113.8 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.1668, allocations: 3.906 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.167, allocations: 76.78 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.167, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.167, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.167, allocations: 3.938 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1672, allocations: 169.5 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1672, allocations: 0 / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1673, allocations: 15.92 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1673, allocations: 0 / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.1673, allocations: 32 / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1673, allocations: 4 kB / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1673, allocations: 0 / 0.5885 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1675, allocations: 163.5 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1676, allocations: 81.05 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1676, allocations: 4 kB / 0.5888 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1677, allocations: 12.02 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.1677, allocations: 4 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1677, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.1678, allocations: 79.28 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1678, allocations: 0 / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.168, allocations: 16 kB / 0.5889 GB, free: 15.33 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.0006134/0.1686, allocations: 0.7163 MB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1688, allocations: 39.98 kB / 0.5896 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1689, allocations: 4 kB / 0.5896 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.1689, allocations: 15.92 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1692, allocations: 8 kB / 0.5896 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.1696, allocations: 147 kB / 0.5898 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1698, allocations: 0.6768 MB / 0.5904 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.196e-05/0.1699, allocations: 4.125 kB / 0.5904 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.1699, allocations: 7.438 kB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1699, allocations: 0 / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.1826, allocations: 1.364 MB / 0.5918 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/0.1829, allocations: 180 kB / 0.592 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.521, allocations: 0 / 0.592 GB, free: 12.12 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)