Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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/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.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001252/0.001252, allocations: 108 kB / 15.6 MB, free: 132 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.001272/0.001272, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002617/0.002617, allocations: 281.9 kB / 290.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.027/1.027, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002803, allocations: 99.97 kB / 0.6065 GB, free: 24.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.163, allocations: 89.14 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002895/0.1659, allocations: 1.427 MB / 0.695 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.1667, allocations: 356.6 kB / 0.6953 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.1667, allocations: 0 / 0.6953 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.1668, allocations: 0 / 0.6953 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.1668, allocations: 3.938 kB / 0.6953 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.1673, allocations: 100.2 kB / 0.6954 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.1674, allocations: 24.59 kB / 0.6955 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.57e-05/0.1675, allocations: 9.188 kB / 0.6955 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.1675, allocations: 7.984 kB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.1676, allocations: 15.91 kB / 0.6955 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1676, allocations: 7.156 kB / 0.6955 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1678, allocations: 119.8 kB / 0.6956 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.1679, allocations: 0 / 0.6956 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.1679, allocations: 15.92 kB / 0.6956 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1681, allocations: 83.81 kB / 0.6957 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1681, allocations: 3.938 kB / 0.6957 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1681, allocations: 3.984 kB / 0.6957 GB, free: 2.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1681, allocations: 0 / 0.6957 GB, free: 2.051 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005343/0.1687, allocations: 359.7 kB / 0.6961 GB, free: 1.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1687, allocations: 8.031 kB / 0.6961 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.1687, allocations: 30.75 kB / 0.6961 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.1688, allocations: 4.938 kB / 0.6961 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1689, allocations: 160.4 kB / 0.6962 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1689, allocations: 4.375 kB / 0.6963 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.169, allocations: 4.375 kB / 0.6963 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1691, allocations: 46.23 kB / 0.6963 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1692, allocations: 11.94 kB / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1692, allocations: 0 / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1692, allocations: 0 / 0.6963 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.1693, allocations: 35.89 kB / 0.6963 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1697, allocations: 244.8 kB / 0.6966 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1698, allocations: 50.53 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.1699, allocations: 20.89 kB / 0.6966 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007938/0.1707, allocations: 457.5 kB / 0.6971 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1708, allocations: 38.56 kB / 0.6971 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.1708, allocations: 0 / 0.6971 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003656/0.1711, allocations: 85.52 kB / 0.6972 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.1712, allocations: 51.41 kB / 0.6973 GB, free: 192 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.1713, allocations: 101.9 kB / 0.6974 GB, free: 80 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1713, allocations: 29.83 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.1714, allocations: 80.14 kB / 0.6975 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1714, allocations: 11.83 kB / 0.6975 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.1714, allocations: 17.72 kB / 0.6975 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1716, allocations: 310.8 kB / 0.6978 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.1717, allocations: 15.98 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.1717, allocations: 19.97 kB / 0.6978 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1719, allocations: 44.83 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1719, allocations: 3.938 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.1721, allocations: 61.66 kB / 0.6979 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1721, allocations: 8 kB / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1721, allocations: 3.984 kB / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1722, allocations: 32 / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.1723, allocations: 11.98 kB / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1723, allocations: 0 / 0.6979 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.1723, allocations: 11.94 kB / 0.698 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1723, allocations: 4 kB / 0.698 GB, free: 15.42 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 0.0001519/0.1725, allocations: 110.4 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1725, allocations: 0 / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.1728, allocations: 88.61 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1728, allocations: 0 / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1728, allocations: 4 kB / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1728, allocations: 0 / 0.6982 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.173, allocations: 157.6 kB / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.173, allocations: 0 / 0.6983 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.1731, allocations: 11.98 kB / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-06/0.1731, allocations: 0 / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1731, allocations: 0 / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1731, allocations: 0 / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1731, allocations: 4.031 kB / 0.6983 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1734, allocations: 163.4 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.1734, allocations: 81.11 kB / 0.6985 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1734, allocations: 4 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1735, allocations: 7.922 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1736, allocations: 8.031 kB / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1736, allocations: 0 / 0.6986 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.1736, allocations: 83.27 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002587/0.1739, allocations: 32 kB / 0.6987 GB, free: 14.59 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.0007653/0.1747, allocations: 0.728 MB / 0.6994 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1749, allocations: 47.92 kB / 0.6994 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1749, allocations: 0 / 0.6994 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.175, allocations: 15.92 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1752, allocations: 8 kB / 0.6995 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.1757, allocations: 139.2 kB / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1761, allocations: 0.6769 MB / 0.7003 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.267e-05/0.1761, allocations: 4 kB / 0.7003 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1761, allocations: 11.42 kB / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1761, allocations: 0 / 0.7003 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1992, allocations: 1.739 MB / 0.702 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.535, allocations: 7.984 kB / 0.702 GB, free: 11.18 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)