Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_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.005441/0.005441, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001141/0.001141, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7647/0.7647, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4511, allocations: 80.2 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002198/0.4534, allocations: 1.432 MB / 0.6606 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005209/0.4539, allocations: 243.4 kB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.454, allocations: 1.219 kB / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.454, allocations: 0 / 0.6608 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.4541, allocations: 9.781 kB / 0.6608 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.4544, allocations: 57.12 kB / 0.6609 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.4545, allocations: 29.14 kB / 0.6609 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.4546, allocations: 7.484 kB / 0.6609 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.916e-05/0.4546, allocations: 12.52 kB / 0.6609 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.4547, allocations: 9.172 kB / 0.6609 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4547, allocations: 2.719 kB / 0.6609 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.4548, allocations: 57.7 kB / 0.661 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.4549, allocations: 5.359 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4549, allocations: 7.531 kB / 0.661 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.455, allocations: 61.61 kB / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.455, allocations: 0 / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.455, allocations: 4 kB / 0.6611 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.455, allocations: 0 / 0.6611 GB, free: 8.539 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.0003525/0.4554, allocations: 342.6 kB / 0.6614 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4554, allocations: 9.625 kB / 0.6614 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.476e-05/0.4555, allocations: 32.78 kB / 0.6614 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.4555, allocations: 6.219 kB / 0.6614 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.4556, allocations: 163.6 kB / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.4556, allocations: 384 / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.4556, allocations: 1.75 kB / 0.6616 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.4558, allocations: 56.89 kB / 0.6617 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4558, allocations: 5.312 kB / 0.6617 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4558, allocations: 0 / 0.6617 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.4558, allocations: 0 / 0.6617 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.456, allocations: 37.3 kB / 0.6617 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.4563, allocations: 254.2 kB / 0.6619 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4564, allocations: 41.06 kB / 0.662 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.4565, allocations: 24.03 kB / 0.662 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.4572, allocations: 456.8 kB / 0.6624 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.4572, allocations: 32.48 kB / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.4572, allocations: 0 / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003672/0.4576, allocations: 83.42 kB / 0.6625 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.4576, allocations: 57.36 kB / 0.6626 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.858e-05/0.4577, allocations: 100.6 kB / 0.6627 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.4577, allocations: 25.7 kB / 0.6627 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.4577, allocations: 86.64 kB / 0.6628 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.4578, allocations: 5.188 kB / 0.6628 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.4578, allocations: 13.14 kB / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.4579, allocations: 316.4 kB / 0.6631 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.4579, allocations: 14.8 kB / 0.6631 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/0.458, allocations: 18.48 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.4582, allocations: 44.98 kB / 0.6632 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4582, allocations: 3.938 kB / 0.6632 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001764/0.4584, allocations: 62.77 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4584, allocations: 10.67 kB / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4584, allocations: 96 / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4584, allocations: 8 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.4585, allocations: 9.328 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4585, allocations: 0.6562 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.4586, allocations: 5.672 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4586, allocations: 0.7812 kB / 0.6633 GB, free: 6.309 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 5.975e-05/0.4586, allocations: 113.9 kB / 0.6634 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.4587, allocations: 2.062 kB / 0.6634 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.4589, allocations: 77.61 kB / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4589, allocations: 1.812 kB / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4589, allocations: 0 / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4589, allocations: 0.5625 kB / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.4591, allocations: 164.3 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4591, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.4591, allocations: 9.594 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4591, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4592, allocations: 1.406 kB / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4592, allocations: 4 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4592, allocations: 0.7031 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4594, allocations: 167 kB / 0.6638 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.4594, allocations: 83.17 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4595, allocations: 0 / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.4595, allocations: 13.81 kB / 0.6639 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.4596, allocations: 2.469 kB / 0.6639 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4596, allocations: 1.688 kB / 0.6639 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.4596, allocations: 84.02 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4596, allocations: 0.9688 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.4599, allocations: 13.94 kB / 0.664 GB, free: 5.605 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.0004466/0.4603, allocations: 0.7099 MB / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4606, allocations: 43.97 kB / 0.6647 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4606, allocations: 0 / 0.6647 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.4606, allocations: 20.31 kB / 0.6648 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4609, allocations: 3.531 kB / 0.6648 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.4613, allocations: 141.8 kB / 0.6649 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.4614, allocations: 0.6751 MB / 0.6656 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.4614, allocations: 10.3 kB / 0.6656 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.4614, allocations: 13.5 kB / 0.6656 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4614, allocations: 0 / 0.6656 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.4777, allocations: 1.508 MB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.952, allocations: 5.188 kB / 0.6671 GB, free: 3.309 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)