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.008875/0.008875, 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.001921/0.001921, allocations: 194.3 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 278.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9924/0.9924, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 97.11 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1747, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY1): time 0.002573/0.1773, allocations: 1.423 MB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006647/0.178, allocations: 363.6 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.1781, allocations: 0 / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.1781, allocations: 3.938 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.1782, allocations: 4 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.1787, allocations: 110 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.1788, allocations: 19.92 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.1788, allocations: 12 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.056e-05/0.1789, allocations: 7.984 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.1789, allocations: 15.92 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.179, allocations: 0 / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.1792, allocations: 131.8 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.1792, allocations: 0 / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1792, allocations: 7.938 kB / 0.768 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1794, allocations: 99.94 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1795, allocations: 0 / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1795, allocations: 0 / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1795, allocations: 4 kB / 0.7681 GB, free: 6.719 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.0004698/0.1799, allocations: 355.3 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.18, allocations: 8.031 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.18, allocations: 30.75 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.1801, allocations: 0.9375 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1802, allocations: 176.3 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1802, allocations: 384 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1802, allocations: 384 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1804, allocations: 58.17 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1804, allocations: 3.938 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.1804, allocations: 0 / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1804, allocations: 0 / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1806, allocations: 39.91 kB / 0.7687 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.1809, allocations: 248.9 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.181, allocations: 42.5 kB / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.614e-05/0.1811, allocations: 24.91 kB / 0.769 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007924/0.1819, allocations: 469.4 kB / 0.7694 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1819, allocations: 34.5 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.182, allocations: 4 kB / 0.7695 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003816/0.1823, allocations: 81.58 kB / 0.7696 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1824, allocations: 55.53 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.1825, allocations: 105.8 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1825, allocations: 25.7 kB / 0.7697 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1825, allocations: 80.14 kB / 0.7698 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1826, allocations: 7.938 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.1826, allocations: 17.72 kB / 0.7698 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.1827, allocations: 310.8 kB / 0.7701 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.1828, allocations: 19.98 kB / 0.7702 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.1829, allocations: 15.98 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.183, allocations: 40.75 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.183, allocations: 7.938 kB / 0.7702 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.1832, allocations: 61.66 kB / 0.7703 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1832, allocations: 12.09 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1832, allocations: 0 / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1833, allocations: 0 / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.1833, allocations: 4 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1834, allocations: 0 / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1834, allocations: 11.98 kB / 0.7703 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.1834, allocations: 0 / 0.7703 GB, free: 4.086 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 6.027e-05/0.1835, allocations: 114.4 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.1835, allocations: 7.953 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.1837, allocations: 80.7 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1837, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1838, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1838, allocations: 0 / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1839, allocations: 157.6 kB / 0.7706 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1839, allocations: 0 / 0.7706 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.184, allocations: 11.98 kB / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.184, allocations: 4.031 kB / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.184, allocations: 0 / 0.7707 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.184, allocations: 3.938 kB / 0.7707 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.184, allocations: 3.984 kB / 0.7707 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1842, allocations: 167.4 kB / 0.7708 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.1843, allocations: 81.05 kB / 0.7709 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1843, allocations: 4.031 kB / 0.7709 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.1844, allocations: 7.984 kB / 0.7709 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1844, allocations: 4 kB / 0.7709 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1844, allocations: 4 kB / 0.7709 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.1845, allocations: 83.27 kB / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1845, allocations: 0 / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002577/0.1847, allocations: 31.94 kB / 0.771 GB, free: 3.238 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.0005805/0.1853, allocations: 0.7396 MB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.1855, allocations: 39.89 kB / 0.7718 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1855, allocations: 4 kB / 0.7718 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.1856, allocations: 11.98 kB / 0.7718 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1858, allocations: 8 kB / 0.7718 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.1862, allocations: 147.2 kB / 0.772 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1865, allocations: 0.6768 MB / 0.7726 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1865, allocations: 0 / 0.7726 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.1865, allocations: 11.42 kB / 0.7726 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1865, allocations: 0 / 0.7726 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3421/0.5286, allocations: 1.784 MB / 0.7744 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.749, allocations: 7.969 kB / 0.7744 GB, free: 14.58 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)