Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="IDEAS_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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7672/0.7672, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.48 kB / 0.5019 GB, free: 8.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 80.19 MB / 0.5802 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselY0): time 0.00157/0.1413, allocations: 0.5818 MB / 0.5808 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005409/0.1419, allocations: 287 kB / 0.581 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.1419, allocations: 0 / 0.581 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.1419, allocations: 7.875 kB / 0.5811 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.1419, allocations: 0 / 0.5811 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1423, allocations: 91.73 kB / 0.5811 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.345e-05/0.1424, allocations: 7.984 kB / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.217e-05/0.1424, allocations: 0 / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.134e-05/0.1424, allocations: 0 / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.439e-05/0.1424, allocations: 0 / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-06/0.1424, allocations: 0 / 0.5811 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.1427, allocations: 127.8 kB / 0.5813 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-06/0.1427, allocations: 4 kB / 0.5813 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.1427, allocations: 3.938 kB / 0.5813 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1429, allocations: 63.91 kB / 0.5813 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1429, allocations: 0 / 0.5813 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1429, allocations: 3.938 kB / 0.5813 GB, free: 7.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1429, allocations: 0 / 0.5813 GB, free: 7.461 MB / 494.1 MB 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.000256/0.1431, allocations: 323.6 kB / 0.5816 GB, free: 7.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1432, allocations: 12.03 kB / 0.5817 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.1432, allocations: 34.75 kB / 0.5817 GB, free: 7.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.1432, allocations: 4.938 kB / 0.5817 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.48e-05/0.1433, allocations: 164.4 kB / 0.5819 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1433, allocations: 384 / 0.5819 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-06/0.1433, allocations: 384 / 0.5819 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.1434, allocations: 30.27 kB / 0.5819 GB, free: 6.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1434, allocations: 3.938 kB / 0.5819 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.1434, allocations: 0 / 0.5819 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1435, allocations: 0 / 0.5819 GB, free: 6.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.681e-05/0.1435, allocations: 3.938 kB / 0.5819 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.1436, allocations: 145.7 kB / 0.582 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.1436, allocations: 22.61 kB / 0.5821 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.1437, allocations: 8.844 kB / 0.5821 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.1443, allocations: 457.5 kB / 0.5825 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1444, allocations: 34.56 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1444, allocations: 0 / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.1445, allocations: 41.56 kB / 0.5826 GB, free: 5.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1445, allocations: 51.41 kB / 0.5826 GB, free: 5.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.893e-05/0.1446, allocations: 93.8 kB / 0.5827 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1446, allocations: 25.7 kB / 0.5827 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.1446, allocations: 84.27 kB / 0.5828 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1446, allocations: 7.906 kB / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.1447, allocations: 13.72 kB / 0.5828 GB, free: 5.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.1448, allocations: 310.8 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.1448, allocations: 4 kB / 0.5831 GB, free: 5.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.1448, allocations: 7.938 kB / 0.5831 GB, free: 5.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.1448, allocations: 8.844 kB / 0.5832 GB, free: 5.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1448, allocations: 0 / 0.5832 GB, free: 5.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.816e-05/0.1449, allocations: 41.7 kB / 0.5832 GB, free: 5.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1449, allocations: 4 kB / 0.5832 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1449, allocations: 7.922 kB / 0.5832 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1449, allocations: 0 / 0.5832 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.329e-05/0.145, allocations: 4 kB / 0.5832 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.145, allocations: 0 / 0.5832 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.145, allocations: 0 / 0.5832 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.145, allocations: 0 / 0.5832 GB, free: 5.223 MB / 494.1 MB 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.917e-05/0.1451, allocations: 110.5 kB / 0.5833 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.1451, allocations: 8.016 kB / 0.5833 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.1451, allocations: 40.77 kB / 0.5834 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1452, allocations: 3.938 kB / 0.5834 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1452, allocations: 0 / 0.5834 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1452, allocations: 0 / 0.5834 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.1452, allocations: 145.7 kB / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1453, allocations: 0 / 0.5835 GB, free: 4.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.228e-05/0.1453, allocations: 4 kB / 0.5835 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1453, allocations: 0 / 0.5835 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1453, allocations: 7.938 kB / 0.5835 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1453, allocations: 4.031 kB / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1453, allocations: 0 / 0.5835 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.49e-05/0.1454, allocations: 57.12 kB / 0.5836 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1454, allocations: 77.11 kB / 0.5836 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.1454, allocations: 3.938 kB / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.1454, allocations: 0 / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.1454, allocations: 0 / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1454, allocations: 7.969 kB / 0.5837 GB, free: 4.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.1455, allocations: 81.05 kB / 0.5837 GB, free: 4.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1455, allocations: 0 / 0.5837 GB, free: 4.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.1457, allocations: 31.94 kB / 0.5838 GB, free: 4.547 MB / 494.1 MB 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.0004296/0.1461, allocations: 0.6322 MB / 0.5844 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.696e-05/0.1462, allocations: 4 kB / 0.5844 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1462, allocations: 0 / 0.5844 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.758e-06/0.1462, allocations: 7.922 kB / 0.5844 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.1463, allocations: 6.625 kB / 0.5844 GB, free: 3.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.1466, allocations: 122.6 kB / 0.5845 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1468, allocations: 0.6806 MB / 0.5852 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.15e-05/0.1469, allocations: 4 kB / 0.5852 GB, free: 3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.1469, allocations: 7.438 kB / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1469, allocations: 0 / 0.5852 GB, free: 2.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1633, allocations: 1.339 MB / 0.5865 GB, free: 1.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/7.242, allocations: 9.531 kB / 0.5865 GB, free: 1.727 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_BesselY0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)