Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_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.005392/0.005392, allocations: 98.66 kB / 15.73 MB, free: 5.988 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.001679/0.001679, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 290 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.00195, allocations: 105.9 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1878, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002832/0.1906, allocations: 1.43 MB / 0.7673 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.1914, allocations: 367.6 kB / 0.7677 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.1914, allocations: 0 / 0.7677 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.1915, allocations: 0 / 0.7677 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.1915, allocations: 7.938 kB / 0.7677 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.1921, allocations: 102 kB / 0.7678 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1922, allocations: 23.92 kB / 0.7678 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.1923, allocations: 8 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.1923, allocations: 11.98 kB / 0.7678 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.1924, allocations: 11.92 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.1924, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.1926, allocations: 127.8 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.1927, allocations: 11.97 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1927, allocations: 7.938 kB / 0.768 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1929, allocations: 95.95 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1929, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1929, allocations: 0 / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.193, allocations: 7.938 kB / 0.7681 GB, free: 6.746 MB / 0.5606 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.0004613/0.1934, allocations: 355.3 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1935, allocations: 8.031 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.1935, allocations: 30.75 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1935, allocations: 4.938 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1937, allocations: 164.3 kB / 0.7686 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1937, allocations: 4.359 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1937, allocations: 384 / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1939, allocations: 54.19 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1939, allocations: 3.938 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.1939, allocations: 0 / 0.7687 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1939, allocations: 11.97 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1941, allocations: 27.97 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1944, allocations: 244.9 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1946, allocations: 46.48 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.1947, allocations: 24.91 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007405/0.1954, allocations: 473.4 kB / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1955, allocations: 38.55 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1955, allocations: 3.938 kB / 0.7695 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.1958, allocations: 69.66 kB / 0.7695 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1959, allocations: 67.52 kB / 0.7696 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.1959, allocations: 93.86 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.196, allocations: 25.7 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.196, allocations: 84.14 kB / 0.7698 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.196, allocations: 7.938 kB / 0.7698 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1961, allocations: 17.7 kB / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.1962, allocations: 314.8 kB / 0.7701 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.1963, allocations: 19.98 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.1963, allocations: 19.92 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1965, allocations: 40.81 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1965, allocations: 3.938 kB / 0.7702 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.1967, allocations: 57.77 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1967, allocations: 18.48 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1967, allocations: 0 / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1967, allocations: 0 / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.1968, allocations: 4 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1968, allocations: 0 / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1969, allocations: 7.984 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.1969, allocations: 4 kB / 0.7703 GB, free: 4.117 MB / 0.5606 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 7.324e-05/0.197, allocations: 114.4 kB / 0.7704 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.197, allocations: 11.95 kB / 0.7704 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.1972, allocations: 68.78 kB / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1973, allocations: 7.922 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1973, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1973, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1974, allocations: 157.6 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1974, allocations: 0 / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.1975, allocations: 11.98 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1975, allocations: 4.031 kB / 0.7707 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1975, allocations: 4 kB / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1975, allocations: 0 / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1975, allocations: 0 / 0.7707 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1978, allocations: 167.4 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.1978, allocations: 77.11 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.1978, allocations: 11.97 kB / 0.7709 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.1979, allocations: 3.984 kB / 0.7709 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1979, allocations: 4 kB / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1979, allocations: 0 / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.198, allocations: 87.27 kB / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.198, allocations: 0 / 0.771 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002585/0.1983, allocations: 27.94 kB / 0.771 GB, free: 3.277 MB / 0.5606 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.0006246/0.1989, allocations: 0.7396 MB / 0.7717 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1991, allocations: 39.95 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1991, allocations: 0 / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.1992, allocations: 15.98 kB / 0.7718 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1994, allocations: 4 kB / 0.7718 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.1999, allocations: 147.2 kB / 0.7719 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2001, allocations: 0.6806 MB / 0.7726 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.2001, allocations: 336 / 0.7726 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.2002, allocations: 11.44 kB / 0.7726 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.2002, allocations: 0 / 0.7726 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3509/0.5511, allocations: 1.785 MB / 0.7744 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.919, allocations: 5.781 kB / 0.7744 GB, free: 14.66 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)