Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselY1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselY1",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.004695/0.004695, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001263/0.001263, allocations: 193.2 kB / 16.68 MB, free: 6.363 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.453/1.453, 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.8319/0.8319, allocations: 132.2 MB / 422.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 63.91 kB / 0.5809 GB, free: 8.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4705, allocations: 80.2 MB / 0.6592 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselY1): time 0.002691/0.4733, allocations: 1.429 MB / 0.6606 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.474, allocations: 364.6 kB / 0.6609 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.4741, allocations: 1.594 kB / 0.6609 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.4741, allocations: 4.453 kB / 0.6609 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.4742, allocations: 0 / 0.6609 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.4747, allocations: 110.8 kB / 0.661 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.893e-05/0.4747, allocations: 20.36 kB / 0.6611 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4749, allocations: 8.5 kB / 0.6611 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.4749, allocations: 8.172 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.475, allocations: 13.42 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.475, allocations: 1.719 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.4752, allocations: 129.8 kB / 0.6612 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.4753, allocations: 10.42 kB / 0.6612 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.4753, allocations: 6.781 kB / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.4756, allocations: 86.08 kB / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4756, allocations: 0 / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4756, allocations: 4 kB / 0.6613 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.4756, allocations: 0 / 0.6613 GB, free: 8.406 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.0005853/0.4762, allocations: 356.5 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.4763, allocations: 10.47 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.4763, allocations: 39.28 kB / 0.6617 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.4764, allocations: 2.406 kB / 0.6617 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.4765, allocations: 167.3 kB / 0.6619 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4765, allocations: 5.531 kB / 0.6619 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4765, allocations: 1.625 kB / 0.6619 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.4767, allocations: 52.8 kB / 0.6619 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4768, allocations: 8.672 kB / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4768, allocations: 1.188 kB / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4768, allocations: 0 / 0.6619 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.477, allocations: 32.56 kB / 0.662 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.4774, allocations: 254.6 kB / 0.6622 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.4775, allocations: 40.09 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.564e-05/0.4776, allocations: 24.64 kB / 0.6623 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.4784, allocations: 468 kB / 0.6627 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.4785, allocations: 36.47 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4785, allocations: 0 / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003943/0.4789, allocations: 88.8 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4789, allocations: 51.41 kB / 0.6629 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.479, allocations: 101.8 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.479, allocations: 25.7 kB / 0.663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.4791, allocations: 82.66 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4791, allocations: 14.22 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.4791, allocations: 15.53 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.4792, allocations: 313.6 kB / 0.6634 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.4793, allocations: 21.12 kB / 0.6634 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.4794, allocations: 14.25 kB / 0.6635 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4795, allocations: 38.02 kB / 0.6635 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4796, allocations: 3.938 kB / 0.6635 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/0.4798, allocations: 71.69 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4798, allocations: 4.969 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4798, allocations: 1.219 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4798, allocations: 0 / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.4799, allocations: 8.938 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4799, allocations: 0.6562 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.48, allocations: 10.5 kB / 0.6636 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.48, allocations: 1.031 kB / 0.6636 GB, free: 6.156 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.824e-05/0.4801, allocations: 116.3 kB / 0.6637 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4801, allocations: 5.297 kB / 0.6637 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.4804, allocations: 75.89 kB / 0.6638 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4804, allocations: 3.938 kB / 0.6638 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4804, allocations: 0.5625 kB / 0.6638 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4804, allocations: 1.188 kB / 0.6638 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4805, allocations: 159.5 kB / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4805, allocations: 0.5156 kB / 0.6639 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.4806, allocations: 12.92 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4806, allocations: 0.8438 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4806, allocations: 1.531 kB / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4806, allocations: 0 / 0.6639 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4806, allocations: 3.938 kB / 0.664 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.4809, allocations: 171.6 kB / 0.6641 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.4809, allocations: 77.91 kB / 0.6642 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.4809, allocations: 2.109 kB / 0.6642 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.481, allocations: 5.094 kB / 0.6642 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.481, allocations: 6.859 kB / 0.6642 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4811, allocations: 6.125 kB / 0.6642 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.763e-05/0.4811, allocations: 79.83 kB / 0.6643 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4811, allocations: 0 / 0.6643 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002891/0.4814, allocations: 32.06 kB / 0.6643 GB, free: 5.441 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.0006069/0.482, allocations: 0.7331 MB / 0.665 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4822, allocations: 38.34 kB / 0.6651 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4823, allocations: 1.312 kB / 0.6651 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.4823, allocations: 15.89 kB / 0.6651 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4826, allocations: 14.05 kB / 0.6651 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.483, allocations: 142.5 kB / 0.6652 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4831, allocations: 0.6753 MB / 0.6659 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.4832, allocations: 1.641 kB / 0.6659 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.4832, allocations: 9.453 kB / 0.6659 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4832, allocations: 0 / 0.6659 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.506, allocations: 1.761 MB / 0.6676 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.516, allocations: 11.03 kB / 0.6676 GB, free: 2.949 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.BesselY1_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 IDEAS_IDEAS_Utilities_Math_Examples_BesselY1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselY1.pipe 2>&1)