Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_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.005749/0.00575, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.001267/0.001266, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 59.89 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4271, allocations: 80.21 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002186/0.4294, allocations: 1.432 MB / 0.6606 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.4299, allocations: 254.1 kB / 0.6608 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.4299, allocations: 4 kB / 0.6608 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.4299, allocations: 4.594 kB / 0.6608 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.132e-05/0.43, allocations: 5.312 kB / 0.6608 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.4303, allocations: 62.84 kB / 0.6609 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.4304, allocations: 24.33 kB / 0.6609 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.4305, allocations: 4.156 kB / 0.6609 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.4306, allocations: 9.562 kB / 0.6609 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.4306, allocations: 9.547 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.4306, allocations: 1.688 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.4308, allocations: 67.72 kB / 0.661 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.4308, allocations: 9.938 kB / 0.661 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.4308, allocations: 6.859 kB / 0.661 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.431, allocations: 52.72 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.431, allocations: 0 / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.431, allocations: 0 / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.431, allocations: 0.6562 kB / 0.6611 GB, free: 8.566 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.0004045/0.4314, allocations: 349.4 kB / 0.6614 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4315, allocations: 9.312 kB / 0.6614 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.319e-05/0.4315, allocations: 35.41 kB / 0.6615 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.4315, allocations: 7.094 kB / 0.6615 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.4316, allocations: 171 kB / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4316, allocations: 2.594 kB / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.4317, allocations: 384 / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4318, allocations: 49.56 kB / 0.6617 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4318, allocations: 3.938 kB / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4319, allocations: 1.406 kB / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4319, allocations: 0 / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.432, allocations: 36.17 kB / 0.6617 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.4323, allocations: 258.3 kB / 0.662 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4324, allocations: 41.59 kB / 0.662 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.4325, allocations: 23.23 kB / 0.662 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/0.4331, allocations: 458.5 kB / 0.6625 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4332, allocations: 31.27 kB / 0.6625 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4332, allocations: 1.375 kB / 0.6625 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.4335, allocations: 87.89 kB / 0.6626 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.4336, allocations: 52.06 kB / 0.6626 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.4336, allocations: 97.31 kB / 0.6627 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.4336, allocations: 25.7 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.4337, allocations: 86.17 kB / 0.6628 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.4337, allocations: 4.75 kB / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4337, allocations: 17.97 kB / 0.6629 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.4338, allocations: 316.2 kB / 0.6632 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.4339, allocations: 14.16 kB / 0.6632 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.4339, allocations: 23 kB / 0.6632 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.4341, allocations: 36.56 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4341, allocations: 11.94 kB / 0.6632 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.4343, allocations: 63.88 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4343, allocations: 7.5 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4343, allocations: 0 / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4344, allocations: 0 / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.4344, allocations: 10.34 kB / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4345, allocations: 0 / 0.6633 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.4345, allocations: 10.36 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4345, allocations: 1.094 kB / 0.6633 GB, free: 6.328 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 4.8e-05/0.4346, allocations: 116.6 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.4346, allocations: 9.891 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.4348, allocations: 71.72 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4348, allocations: 0 / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4348, allocations: 0 / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4349, allocations: 6 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.435, allocations: 158.7 kB / 0.6637 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.435, allocations: 4.594 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.668e-05/0.435, allocations: 9.375 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.435, allocations: 0 / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4351, allocations: 1.797 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4351, allocations: 4 kB / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4351, allocations: 0 / 0.6637 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.4353, allocations: 170.9 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.4353, allocations: 79.42 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4353, allocations: 0.7031 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.4354, allocations: 6.5 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4354, allocations: 2.625 kB / 0.6639 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.4355, allocations: 5.125 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.168e-05/0.4355, allocations: 79.8 kB / 0.664 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4355, allocations: 4.031 kB / 0.664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002403/0.4357, allocations: 18.19 kB / 0.664 GB, free: 5.617 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.0004434/0.4362, allocations: 0.7105 MB / 0.6647 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.4364, allocations: 39.64 kB / 0.6648 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4364, allocations: 3.938 kB / 0.6648 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.4365, allocations: 20.12 kB / 0.6648 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.4368, allocations: 7.609 kB / 0.6648 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.4371, allocations: 135.5 kB / 0.6649 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.046e-05/0.4372, allocations: 0.6757 MB / 0.6656 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.4373, allocations: 1.953 kB / 0.6656 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.4373, allocations: 13.39 kB / 0.6656 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4373, allocations: 0 / 0.6656 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4551, allocations: 1.503 MB / 0.6671 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/7.996, allocations: 10.39 kB / 0.6671 GB, free: 3.301 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)