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.00589/0.00589, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001223/0.001223, allocations: 187.8 kB / 16.67 MB, free: 5.957 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: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.02 kB / 0.5851 GB, free: 22.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1497, allocations: 80.92 MB / 0.6642 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002965/0.1527, allocations: 1.423 MB / 0.6655 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005605/0.1533, allocations: 248.1 kB / 0.6658 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.1533, allocations: 0 / 0.6658 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1534, allocations: 7.938 kB / 0.6658 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.1535, allocations: 3.938 kB / 0.6658 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1538, allocations: 59.81 kB / 0.6659 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.1539, allocations: 23.92 kB / 0.6659 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.091e-05/0.154, allocations: 7.938 kB / 0.6659 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.1541, allocations: 11.98 kB / 0.6659 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.1541, allocations: 11.94 kB / 0.6659 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1541, allocations: 0 / 0.6659 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1543, allocations: 55.94 kB / 0.666 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.1543, allocations: 11.98 kB / 0.666 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1543, allocations: 11.94 kB / 0.666 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1544, allocations: 47.86 kB / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1545, allocations: 0 / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1545, allocations: 0 / 0.666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1545, allocations: 0 / 0.666 GB, free: 4.469 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.0004425/0.1549, allocations: 342.4 kB / 0.6664 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.155, allocations: 13.05 kB / 0.6664 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.155, allocations: 34.75 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.155, allocations: 8.844 kB / 0.6664 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1552, allocations: 164.4 kB / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1552, allocations: 384 / 0.6666 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.1552, allocations: 8.375 kB / 0.6666 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1554, allocations: 46.23 kB / 0.6666 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1554, allocations: 3.938 kB / 0.6666 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1554, allocations: 7.938 kB / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1554, allocations: 0 / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1556, allocations: 35.95 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1559, allocations: 240.9 kB / 0.6669 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1561, allocations: 46.53 kB / 0.6669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.1562, allocations: 16.91 kB / 0.667 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/0.1569, allocations: 461.5 kB / 0.6674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1569, allocations: 34.5 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1569, allocations: 0 / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003641/0.1573, allocations: 85.64 kB / 0.6675 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1573, allocations: 51.41 kB / 0.6676 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.1574, allocations: 94 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1574, allocations: 29.7 kB / 0.6677 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.1575, allocations: 84.05 kB / 0.6678 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1575, allocations: 8.828 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.1576, allocations: 9.719 kB / 0.6678 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1577, allocations: 323 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.172e-05/0.1577, allocations: 11.98 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.1578, allocations: 23.86 kB / 0.6681 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.158, allocations: 40.81 kB / 0.6682 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.158, allocations: 3.938 kB / 0.6682 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.1582, allocations: 73.62 kB / 0.6682 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1582, allocations: 4 kB / 0.6682 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1582, allocations: 4.047 kB / 0.6682 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1582, allocations: 3.984 kB / 0.6682 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.1583, allocations: 8 kB / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1583, allocations: 0 / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1584, allocations: 11.92 kB / 0.6683 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1584, allocations: 3.969 kB / 0.6683 GB, free: 1.855 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.943e-05/0.1585, allocations: 121.7 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1585, allocations: 4 kB / 0.6684 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.1587, allocations: 68.77 kB / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1587, allocations: 0 / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1587, allocations: 0 / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1588, allocations: 0 / 0.6684 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1589, allocations: 161.6 kB / 0.6686 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1589, allocations: 4 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.159, allocations: 7.984 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.159, allocations: 0 / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.159, allocations: 4 kB / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.159, allocations: 0 / 0.6686 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.159, allocations: 4 kB / 0.6686 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1592, allocations: 163.4 kB / 0.6688 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.1593, allocations: 85.02 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1593, allocations: 0 / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.1594, allocations: 7.984 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.1594, allocations: 4 kB / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1594, allocations: 0 / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.1595, allocations: 83.27 kB / 0.6689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1595, allocations: 0 / 0.6689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002342/0.1597, allocations: 20.03 kB / 0.669 GB, free: 1.027 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.0005385/0.1603, allocations: 0.7137 MB / 0.6697 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1605, allocations: 35.95 kB / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1605, allocations: 0 / 0.6697 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.458e-05/0.1606, allocations: 19.98 kB / 0.6697 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.1608, allocations: 3.938 kB / 0.6697 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.1612, allocations: 158 kB / 0.6699 GB, free: 36 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1614, allocations: 0.6729 MB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.1615, allocations: 7.922 kB / 0.6705 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1615, allocations: 11.44 kB / 0.6705 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1615, allocations: 0 / 0.6705 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.1779, allocations: 1.507 MB / 0.672 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.662, allocations: 13.84 kB / 0.672 GB, free: 13.86 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)