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.00793/0.00793, allocations: 102 kB / 15.73 MB, free: 6.043 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.001629/0.001629, allocations: 195 kB / 16.67 MB, free: 5.965 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7686/0.7686, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.02 kB / 0.5851 GB, free: 22.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.93 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002749/0.1618, allocations: 1.423 MB / 0.6655 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.1623, allocations: 248.1 kB / 0.6658 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.1624, allocations: 0 / 0.6658 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.1624, allocations: 0 / 0.6658 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.1625, allocations: 7.938 kB / 0.6658 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1629, allocations: 59.83 kB / 0.6659 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.717e-05/0.1629, allocations: 15.98 kB / 0.6659 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.163, allocations: 11.94 kB / 0.6659 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.1631, allocations: 11.97 kB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.1631, allocations: 11.94 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1632, allocations: 0 / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1633, allocations: 63.88 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1633, allocations: 0 / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1634, allocations: 15.92 kB / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1635, allocations: 43.92 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1635, allocations: 4 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1635, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1635, allocations: 0 / 0.666 GB, free: 4.387 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004566/0.164, allocations: 346.3 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1641, allocations: 13.05 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1641, allocations: 38.75 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.1641, allocations: 4.844 kB / 0.6664 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1643, allocations: 164.4 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1643, allocations: 8.375 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.1643, allocations: 384 / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1645, allocations: 46.25 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1645, allocations: 11.92 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1645, allocations: 0 / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1645, allocations: 0 / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1647, allocations: 35.91 kB / 0.6667 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.165, allocations: 249 kB / 0.6669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1651, allocations: 42.44 kB / 0.6669 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.1652, allocations: 24.89 kB / 0.667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.1659, allocations: 457.5 kB / 0.6674 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.166, allocations: 30.56 kB / 0.6674 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.166, allocations: 0 / 0.6674 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003348/0.1663, allocations: 85.58 kB / 0.6675 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1664, allocations: 55.53 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.1665, allocations: 97.86 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1665, allocations: 25.7 kB / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1665, allocations: 92.03 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.1666, allocations: 0.8438 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1666, allocations: 13.72 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1667, allocations: 314.8 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/0.1668, allocations: 15.98 kB / 0.6681 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.1669, allocations: 19.97 kB / 0.6681 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.167, allocations: 40.77 kB / 0.6682 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.167, allocations: 3.938 kB / 0.6682 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.1672, allocations: 69.56 kB / 0.6682 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1673, allocations: 8.094 kB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1673, allocations: 0 / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1673, allocations: 0 / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.1674, allocations: 15.98 kB / 0.6682 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1674, allocations: 0 / 0.6682 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1674, allocations: 7.938 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1675, allocations: 3.938 kB / 0.6683 GB, free: 1.77 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 6.893e-05/0.1675, allocations: 109.8 kB / 0.6684 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.1676, allocations: 7.984 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.1678, allocations: 76.72 kB / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1678, allocations: 0 / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1678, allocations: 0 / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1678, allocations: 4 kB / 0.6684 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.168, allocations: 161.6 kB / 0.6686 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.168, allocations: 0 / 0.6686 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.1681, allocations: 7.984 kB / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1681, allocations: 4.031 kB / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1681, allocations: 0 / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1681, allocations: 4 kB / 0.6686 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1681, allocations: 0 / 0.6686 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1683, allocations: 167.4 kB / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.1684, allocations: 85.02 kB / 0.6689 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.1684, allocations: 8.016 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.1685, allocations: 4 kB / 0.6689 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.1685, allocations: 3.938 kB / 0.6689 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1685, allocations: 0 / 0.6689 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.1686, allocations: 83.27 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1686, allocations: 0 / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002439/0.1688, allocations: 24 kB / 0.669 GB, free: 0.9297 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.0006098/0.1695, allocations: 0.7098 MB / 0.6697 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1697, allocations: 39.94 kB / 0.6697 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1697, allocations: 0 / 0.6697 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1698, allocations: 15.98 kB / 0.6697 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.17, allocations: 13.64 kB / 0.6697 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.1705, allocations: 146.2 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1708, allocations: 0.6768 MB / 0.6705 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.1708, allocations: 4.125 kB / 0.6705 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1709, allocations: 11.44 kB / 0.6706 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1709, allocations: 0 / 0.6706 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1884, allocations: 1.499 MB / 0.672 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.534, allocations: 7.938 kB / 0.672 GB, free: 13.78 MB / 0.5137 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)