Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0",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.008877/0.008877, allocations: 96.7 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.002259/0.002259, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9516/0.9516, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 0.5852 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4485, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.001869/0.4504, allocations: 0.5699 MB / 0.6648 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.4511, allocations: 297.2 kB / 0.6651 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.509e-05/0.4512, allocations: 0 / 0.6651 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.4512, allocations: 0 / 0.6651 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-06/0.4512, allocations: 3.938 kB / 0.6651 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.4517, allocations: 103.2 kB / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.163e-05/0.4517, allocations: 1.344 kB / 0.6652 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.4518, allocations: 5.344 kB / 0.6652 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.4518, allocations: 0 / 0.6652 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.048e-05/0.4518, allocations: 0 / 0.6652 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.4519, allocations: 1.406 kB / 0.6652 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.4521, allocations: 123.3 kB / 0.6653 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.4521, allocations: 1.188 kB / 0.6653 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.4521, allocations: 0 / 0.6653 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.4523, allocations: 65.75 kB / 0.6653 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4523, allocations: 0 / 0.6653 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4523, allocations: 0 / 0.6653 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4523, allocations: 0 / 0.6653 GB, free: 6.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002829/0.4526, allocations: 328.2 kB / 0.6657 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4527, allocations: 9.969 kB / 0.6657 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.4527, allocations: 38.62 kB / 0.6657 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.4527, allocations: 6.438 kB / 0.6657 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.751e-05/0.4528, allocations: 164.4 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.4528, allocations: 384 / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.4528, allocations: 1.781 kB / 0.6659 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.4529, allocations: 27.45 kB / 0.6659 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4529, allocations: 3.938 kB / 0.6659 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4529, allocations: 1.188 kB / 0.6659 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4529, allocations: 0 / 0.6659 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.453, allocations: 1.438 kB / 0.6659 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.841e-05/0.453, allocations: 151.1 kB / 0.666 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.137e-05/0.4531, allocations: 24.03 kB / 0.6661 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.4531, allocations: 6.359 kB / 0.6661 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.4538, allocations: 459.2 kB / 0.6665 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.4538, allocations: 34.56 kB / 0.6665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4538, allocations: 0 / 0.6665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.454, allocations: 42.83 kB / 0.6666 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.454, allocations: 55.34 kB / 0.6666 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.015e-05/0.454, allocations: 99.2 kB / 0.6667 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.454, allocations: 25.7 kB / 0.6668 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.681e-05/0.4541, allocations: 80.14 kB / 0.6668 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4541, allocations: 13.42 kB / 0.6668 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.4541, allocations: 11.22 kB / 0.6669 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.4542, allocations: 310.8 kB / 0.6672 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.4542, allocations: 1.406 kB / 0.6672 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.4542, allocations: 1.594 kB / 0.6672 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.4542, allocations: 15.47 kB / 0.6672 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4543, allocations: 0 / 0.6672 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.676e-05/0.4543, allocations: 38.48 kB / 0.6672 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4543, allocations: 4.75 kB / 0.6672 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4543, allocations: 5.438 kB / 0.6672 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4544, allocations: 0 / 0.6672 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.4544, allocations: 1.594 kB / 0.6672 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4544, allocations: 0 / 0.6672 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.4544, allocations: 1.469 kB / 0.6672 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4544, allocations: 0 / 0.6672 GB, free: 4.32 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 (1): * Single equations (assignments): 1 * 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.324e-05/0.4545, allocations: 115 kB / 0.6673 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.4545, allocations: 5.812 kB / 0.6673 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.4546, allocations: 40.42 kB / 0.6674 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4546, allocations: 0 / 0.6674 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4546, allocations: 0 / 0.6674 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4546, allocations: 1.062 kB / 0.6674 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.697e-05/0.4547, allocations: 146.9 kB / 0.6675 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4547, allocations: 0 / 0.6675 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.4547, allocations: 5 kB / 0.6675 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4547, allocations: 1.125 kB / 0.6675 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4547, allocations: 3.938 kB / 0.6675 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4547, allocations: 5.125 kB / 0.6675 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4547, allocations: 0 / 0.6675 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.287e-05/0.4548, allocations: 58.91 kB / 0.6676 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.4548, allocations: 78.42 kB / 0.6677 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.4548, allocations: 3.938 kB / 0.6677 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.4549, allocations: 1.281 kB / 0.6677 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.4549, allocations: 0 / 0.6677 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.4549, allocations: 9.188 kB / 0.6677 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.4549, allocations: 75.28 kB / 0.6677 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4549, allocations: 0 / 0.6677 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002407/0.4552, allocations: 25.72 kB / 0.6678 GB, free: 3.691 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 (1): * Single equations (assignments): 1 * 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.000364/0.4555, allocations: 0.6404 MB / 0.6684 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.4556, allocations: 3.969 kB / 0.6684 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4556, allocations: 0 / 0.6684 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.4556, allocations: 6.703 kB / 0.6684 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.4558, allocations: 11.92 kB / 0.6684 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.456, allocations: 109.7 kB / 0.6685 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.4561, allocations: 0.675 MB / 0.6692 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.034e-05/0.4561, allocations: 0 / 0.6692 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.4562, allocations: 8.594 kB / 0.6692 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.4562, allocations: 0 / 0.6692 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.4721, allocations: 1.376 MB / 0.6705 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.007, allocations: 11.16 kB / 0.6705 GB, free: 1.406 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)