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.006962/0.006962, allocations: 95.7 kB / 15.73 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.001256/0.001256, allocations: 203.6 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9868/0.9868, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 81.03 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001814/0.3762, allocations: 1.427 MB / 0.6663 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003884/0.3766, allocations: 242.8 kB / 0.6665 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.3767, allocations: 1.094 kB / 0.6665 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.3767, allocations: 0 / 0.6665 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.182e-05/0.3767, allocations: 9.375 kB / 0.6665 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.377, allocations: 61.08 kB / 0.6666 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.3771, allocations: 21.11 kB / 0.6666 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.3772, allocations: 10.67 kB / 0.6666 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.3772, allocations: 6.797 kB / 0.6666 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.002e-05/0.3772, allocations: 15.05 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.375e-06/0.3772, allocations: 2.188 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3774, allocations: 59.73 kB / 0.6667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.3774, allocations: 0 / 0.6667 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.3774, allocations: 14.23 kB / 0.6667 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3775, allocations: 51.41 kB / 0.6667 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3775, allocations: 9.25 kB / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3775, allocations: 0 / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.3775, allocations: 0 / 0.6668 GB, free: 5.41 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.0003077/0.3778, allocations: 340.6 kB / 0.6671 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.3779, allocations: 14.25 kB / 0.6671 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.106e-05/0.3779, allocations: 34.75 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.3779, allocations: 2.438 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.811e-05/0.378, allocations: 165.8 kB / 0.6673 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.378, allocations: 5.375 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.378, allocations: 1.25 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.3781, allocations: 49.89 kB / 0.6673 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3782, allocations: 3.938 kB / 0.6673 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.3782, allocations: 0 / 0.6673 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3782, allocations: 1.406 kB / 0.6673 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3783, allocations: 30.75 kB / 0.6674 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.3785, allocations: 260.5 kB / 0.6676 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3786, allocations: 39.47 kB / 0.6677 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/0.3787, allocations: 21.91 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/0.3791, allocations: 456.1 kB / 0.6681 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.3792, allocations: 32 kB / 0.6681 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3792, allocations: 0 / 0.6681 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002912/0.3795, allocations: 83.95 kB / 0.6682 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.3795, allocations: 56.44 kB / 0.6683 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.835e-05/0.3795, allocations: 98.58 kB / 0.6684 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.3796, allocations: 25.7 kB / 0.6684 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.3796, allocations: 85.16 kB / 0.6685 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.3796, allocations: 14.44 kB / 0.6685 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.3796, allocations: 11.06 kB / 0.6685 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.166e-05/0.3797, allocations: 312.2 kB / 0.6688 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.3797, allocations: 16.83 kB / 0.6688 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/0.3798, allocations: 20.97 kB / 0.6688 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3799, allocations: 40.45 kB / 0.6689 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3799, allocations: 7.875 kB / 0.6689 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001591/0.3801, allocations: 71.97 kB / 0.669 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.3801, allocations: 9.594 kB / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.3801, allocations: 0 / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.3801, allocations: 1.531 kB / 0.669 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.664e-05/0.3802, allocations: 9.266 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3802, allocations: 0 / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.3803, allocations: 3.75 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3803, allocations: 1.125 kB / 0.669 GB, free: 3.055 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 3.631e-05/0.3803, allocations: 116 kB / 0.6691 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.3803, allocations: 5 kB / 0.6691 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.3805, allocations: 78.02 kB / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3805, allocations: 1.344 kB / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3805, allocations: 0 / 0.6692 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3806, allocations: 3.984 kB / 0.6692 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.3807, allocations: 158.7 kB / 0.6693 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3807, allocations: 4 kB / 0.6693 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.3807, allocations: 9.547 kB / 0.6693 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3807, allocations: 5.188 kB / 0.6693 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3807, allocations: 0 / 0.6693 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3807, allocations: 1.125 kB / 0.6693 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3807, allocations: 0 / 0.6693 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.3809, allocations: 163.2 kB / 0.6695 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.3809, allocations: 82.11 kB / 0.6696 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.381, allocations: 8.016 kB / 0.6696 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.381, allocations: 4.094 kB / 0.6696 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.381, allocations: 1.062 kB / 0.6696 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3811, allocations: 5.234 kB / 0.6696 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.69e-05/0.3811, allocations: 83.25 kB / 0.6697 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3811, allocations: 0 / 0.6697 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002101/0.3813, allocations: 17.22 kB / 0.6697 GB, free: 2.305 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.000373/0.3817, allocations: 0.7086 MB / 0.6704 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3819, allocations: 41.47 kB / 0.6704 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3819, allocations: 0 / 0.6704 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.382, allocations: 19.22 kB / 0.6704 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.3822, allocations: 10.38 kB / 0.6705 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3825, allocations: 137.7 kB / 0.6706 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.3825, allocations: 0.6814 MB / 0.6712 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.3826, allocations: 5.375 kB / 0.6713 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.3826, allocations: 8.781 kB / 0.6713 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.3826, allocations: 0 / 0.6713 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3504/0.733, allocations: 1.5 MB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.757, allocations: 12.2 kB / 0.6727 GB, free: 15.85 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)